2020-12-09 08:47:38 +00:00
|
|
|
syntax = "proto3";
|
|
|
|
|
|
|
|
package neo.fs.v2.tombstone;
|
|
|
|
|
2023-03-07 08:50:02 +00:00
|
|
|
option go_package = "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/tombstone/grpc;tombstone";
|
2021-03-10 10:54:06 +00:00
|
|
|
option csharp_namespace = "Neo.FileStorage.API.Tombstone";
|
2020-12-09 08:47:38 +00:00
|
|
|
|
|
|
|
import "refs/types.proto";
|
|
|
|
|
2022-04-13 06:21:33 +00:00
|
|
|
// Tombstone keeps record of deleted objects for a few epochs until they are
|
2020-12-09 08:47:38 +00:00
|
|
|
// purged from the NeoFS network.
|
|
|
|
message Tombstone {
|
2022-04-13 06:21:33 +00:00
|
|
|
// Last NeoFS epoch number of the tombstone lifetime. It's set by the tombstone
|
|
|
|
// creator depending on the current NeoFS network settings. A tombstone object
|
2021-02-19 09:06:01 +00:00
|
|
|
// must have the same expiration epoch value in `__NEOFS__EXPIRATION_EPOCH`
|
2022-04-13 06:21:33 +00:00
|
|
|
// attribute. Otherwise, the tombstone will be rejected by a storage node.
|
2020-12-09 08:47:38 +00:00
|
|
|
uint64 expiration_epoch = 1 [json_name = "expirationEpoch"];
|
|
|
|
|
|
|
|
// 16 byte UUID used to identify the split object hierarchy parts. Must be
|
2022-04-13 06:21:33 +00:00
|
|
|
// unique inside a container. All objects participating in the split must
|
2020-12-09 08:47:38 +00:00
|
|
|
// have the same `split_id` value.
|
|
|
|
bytes split_id = 2 [json_name = "splitID"];
|
|
|
|
|
|
|
|
// List of objects to be deleted.
|
|
|
|
repeated neo.fs.v2.refs.ObjectID members = 3 [json_name = "members"];
|
|
|
|
}
|