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

Fix/Clarify lock object usage #221

Merged
merged 1 commit into from
Jun 2, 2022
Merged

Fix/Clarify lock object usage #221

merged 1 commit into from
Jun 2, 2022

Conversation

carpawell
Copy link
Member

@carpawell carpawell commented May 27, 2022

See nspcc-dev/neofs-node#1227 (comment) for details.

Think it could wait until the whole implementation is ready and testing to prevent any breaking changes in the future (in fact I think that PR is already a breaking change).

@carpawell carpawell added the documentation Improvements or additions to documentation label May 27, 2022
@carpawell carpawell self-assigned this May 27, 2022
@carpawell carpawell marked this pull request as ready for review May 27, 2022 11:57
realloc
realloc previously approved these changes May 27, 2022
fyrchik
fyrchik previously approved these changes May 30, 2022
lock/types.proto Outdated Show resolved Hide resolved
@carpawell carpawell dismissed stale reviews from fyrchik and realloc via 50e68ef May 30, 2022 14:56
fyrchik
fyrchik previously approved these changes May 30, 2022
lock/types.proto Outdated
@@ -9,7 +9,8 @@ import "refs/types.proto";

// Lock objects protects a list of objects from being deleted. The lifetime of a
// lock object is limited similar to regular objects in
// `__NEOFS__EXPIRATION_EPOCH` attribute.
// `__NEOFS__EXPIRATION_EPOCH` attribute. Lock object MUST have expiration epoch.
// It is impossible to delete lock object via ObjectService.Delete RPC call.
Copy link
Contributor

Choose a reason for hiding this comment

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

to delete A lock object, sorry, missed that before.

Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
@realloc realloc merged commit e31fcad into nspcc-dev:master Jun 2, 2022
@alexvanin
Copy link
Contributor

Think it could wait until the whole implementation is ready and testing to prevent any breaking changes in the future (in fact I think that PR is already a breaking change).

Decided not to wait for some tests?

@carpawell carpawell deleted the fix/clarify-LOCK-object-lifecycle branch June 9, 2022 11:48
@carpawell
Copy link
Member Author

Decided not to wait for some tests?

Well, seems like that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants