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

Conversation

carpawell
Copy link
Member

Closes #300.

@carpawell
Copy link
Member Author

carpawell commented Oct 16, 2024

Naming is from the issue, have no suggestion from my side. I do not like that attribute idea, cause it is more like a core feature for me, every container gonna have it and it changes the game significantly, but agree that an attribute thing makes it more flexible than a new field.

@carpawell carpawell force-pushed the feat/container-meta-info-consistency branch from 252eb6b to ab48be9 Compare October 17, 2024 13:17
@carpawell
Copy link
Member Author

Comments may be adjusted in the future when we will have more understanding of what the meta flow looks like.

// * __NEOFS__METAINFO_CONSISTENCY \
// Policy rule that defines the condition under which an object is considered
// processed. Acceptable values and meanings:
// 1. <empty>/<missing attribute>: SN does not process objects' meta
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

attr value cannot be empty as stated above, absence is enough

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok, reworded it to sound like "other cases" with the old behavior

// 2. "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 catch
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
// notification can be catch
// notification can be caught

container/types.proto Outdated Show resolved Hide resolved
Closes #300.

Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
@roman-khimov roman-khimov merged commit d7c0333 into master Oct 18, 2024
3 checks passed
@roman-khimov roman-khimov deleted the feat/container-meta-info-consistency branch October 18, 2024 09:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Container consistency policy
3 participants