This repository was archived by the owner on Feb 8, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 85
CORTX-33673: Improvement for lock-unlock interface with lock end time… #869
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4f8e807 to
d4e3971
Compare
… implementation Signed-off-by: Tanuja Shinde <[email protected]>
d4e3971 to
85b769a
Compare
Signed-off-by: Tanuja Shinde <[email protected]>
Signed-off-by: Tanuja Shinde <[email protected]>
ujjwalpl
suggested changes
Aug 9, 2022
Signed-off-by: Tanuja Shinde <[email protected]>
7fc947a to
81d7a1d
Compare
ujjwalpl
approved these changes
Aug 9, 2022
Signed-off-by: Tanuja Shinde <[email protected]>
81d7a1d to
e3eae6c
Compare
ujjwalpl
approved these changes
Aug 9, 2022
nitin-seagate
approved these changes
Aug 10, 2022
nitin-seagate
left a comment
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.
LGTM
Signed-off-by: Tanuja Shinde <[email protected]>
Signed-off-by: Tanuja Shinde <[email protected]>
b3ceb74 to
6680ba7
Compare
3357ac0 to
e84db05
Compare
Signed-off-by: Tanuja Shinde <[email protected]>
e84db05 to
b466b90
Compare
Author
tanujashinde0405
left a comment
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.
5 Node deployment successful with utils and provisioner feature branch:
https://eos-jenkins.colo.seagate.com/job/Cortx-Automation/job/RGW/job/setup-cortx-rgw-cluster/10825/
lakshita-jain
approved these changes
Aug 12, 2022
lakshita-jain
pushed a commit
that referenced
this pull request
Aug 22, 2022
#869) * CORTX-33673: Improvement for lock-unlock interface with lock end time implementation Signed-off-by: Tanuja Shinde <[email protected]> * CORTX-33673: updated setattr Signed-off-by: Tanuja Shinde <[email protected]> * CORTX-33673: updated lock unlock interfaces Signed-off-by: Tanuja Shinde <[email protected]> * CORTX-33673: updated lock unlock interfaces Signed-off-by: Tanuja Shinde <[email protected]> * CORTX-33673: push multi thread testing program in test folder Signed-off-by: Tanuja Shinde <[email protected]> * CORTX-33673: push multi thread testing program in test folder Signed-off-by: Tanuja Shinde <[email protected]> * CORTX-33673: push multi thread testing program in test folder Signed-off-by: Tanuja Shinde <[email protected]> Signed-off-by: Tanuja Shinde <[email protected]> Signed-off-by: Lakshita Jain <[email protected]>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
… implementation
Signed-off-by: Tanuja Shinde [email protected]
Problem Statement
Design
Added new parameter in lock as duration which will update for how much time a thread can acquire lock.
if a new thread wants to acquire the lock, test_lock() interface will check if the lock_end time which is calculated by duration is less than current time and if the new thread can acquire the lock or not.
Test Cases
Coding
Testing
Review Checklist
Before posting the PR please ensure:
KVstore/Confstore feature (changes/fixes) checklist
Confirm changes are made for:
Documentation