-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat/Add notification object attributes #195
Feat/Add notification object attributes #195
Conversation
object/types.proto
Outdated
// * __NEOFS__TICK_TOPIC \ | ||
// UTF-8 string topic ID that is used for object notification | ||
// * __NEOFS__TICK_EPOCH \ | ||
// Base10 encoded number that defines what epoch must produce |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Base10 -> decimal
@@ -117,6 +117,12 @@ message Header { | |||
// Marks smaller parts of a split bigger object | |||
// * __NEOFS__EXPIRATION_EPOCH \ | |||
// Tells GC to delete object after that epoch | |||
// * __NEOFS__TICK_TOPIC \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It' better to put it after TICK_EPOCH
attribute, to simplify understanding.
object/types.proto
Outdated
// * __NEOFS__TICK_EPOCH \ | ||
// Base10 encoded number that defines what epoch must produce | ||
// object notification (`0` value produces notification right | ||
// after object put) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd also add a note that the notification body will contain object address in UFT-8 string.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thought such details should be in spec, but added
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NeoFS Spec is automatically generated from this API definitions. =)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i meant a few manually written words about notifications (that is why this PR does not close the issue)
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
Related to #193.
I think it should not be included in the next (
2.11.0
+) release, so it may wait.