Skip to content
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 meta information consistency attribute #309

Merged
merged 1 commit into from
Oct 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions container/types.proto
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,22 @@ message Container {
// accepted in a NeoFS network only if the global network hashing configuration
// value corresponds with that attribute's value. After container inclusion, network
// setting is ignored.
// * __NEOFS__METAINFO_CONSISTENCY \
// Policy rule that defines the condition under which an object is considered
// processed. Acceptable values and meanings:
// 1. "strict": SN processes objects' meta information, it is validated,
// indexed and signed accordingly by a required minimal number of nodes
// that are included in the container, a corresponding object inclusion
// notification can be caught
// 2. "optimistic": the same as "strict" but a successful PUT operation
// does not mean objects' meta information has been multi signed and
// indexed correctly, however, SNs will try to do it asynchronously;
// in general PUT operations are expected to be faster than in the
// "strict" case
// 3. <other cases>: SN does not process objects' meta
// information, it is not indexed and object presence/number of copies
// is not proven after a successful object PUT operation; the behavior
// is the same as it was before this attribute introduction
//
// And some well-known attributes used by applications only:
//
Expand Down
16 changes: 16 additions & 0 deletions proto-docs/container.md
Original file line number Diff line number Diff line change
Expand Up @@ -605,6 +605,22 @@ There are some "well-known" attributes affecting system behaviour:
accepted in a NeoFS network only if the global network hashing configuration
value corresponds with that attribute's value. After container inclusion, network
setting is ignored.
* __NEOFS__METAINFO_CONSISTENCY \
Policy rule that defines the condition under which an object is considered
processed. Acceptable values and meanings:
1. "strict": SN processes objects' meta information, it is validated,
indexed and signed accordingly by a required minimal number of nodes
that are included in the container, a corresponding object inclusion
notification can be caught
2. "optimistic": the same as "strict" but a successful PUT operation
does not mean objects' meta information has been multi signed and
indexed correctly, however, SNs will try to do it asynchronously;
in general PUT operations are expected to be faster than in the
"strict" case
3. <other cases>: SN does not process objects' meta
information, it is not indexed and object presence/number of copies
is not proven after a successful object PUT operation; the behavior
is the same as it was before this attribute introduction

And some well-known attributes used by applications only:

Expand Down
Loading