From 1f89c9a0d81e3b08b25d5ad4a2672a5656b7ed76 Mon Sep 17 00:00:00 2001 From: Alex Vanin Date: Fri, 19 Feb 2021 12:06:01 +0300 Subject: [PATCH] [#136] tombstone: Specify connection with object attribute Expiration epoch value should be the same in tombstone object body and in tombstone object header. Signed-off-by: Alex Vanin --- tombstone/types.proto | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tombstone/types.proto b/tombstone/types.proto index 84b0d4c..4113cc5 100644 --- a/tombstone/types.proto +++ b/tombstone/types.proto @@ -11,7 +11,9 @@ import "refs/types.proto"; // purged from the NeoFS network. message Tombstone { // Last NeoFS epoch number of the tombstone lifetime. It's set by tombstone - // creator depending on current NeoFS network settings. + // creator depending on current NeoFS network settings. Tombstone object + // must have the same expiration epoch value in `__NEOFS__EXPIRATION_EPOCH` + // attribute. Otherwise tombstone will be rejected by storage node. uint64 expiration_epoch = 1 [json_name = "expirationEpoch"]; // 16 byte UUID used to identify the split object hierarchy parts. Must be