This repository was archived by the owner on Feb 8, 2024. It is now read-only.
CORTX-33673: Improvement for lock-unlock interface with lock end time…#869
Merged
Conversation
4f8e807 to
d4e3971
Compare
… implementation Signed-off-by: Tanuja Shinde <tanuja.shinde@seagate.com>
d4e3971 to
85b769a
Compare
added 3 commits
August 5, 2022 21:03
Signed-off-by: Tanuja Shinde <tanuja.shinde@seagate.com>
added 2 commits
August 9, 2022 18:54
Signed-off-by: Tanuja Shinde <tanuja.shinde@seagate.com>
ujjwalpl
suggested changes
Aug 9, 2022
Signed-off-by: Tanuja Shinde <tanuja.shinde@seagate.com>
7fc947a to
81d7a1d
Compare
ujjwalpl
approved these changes
Aug 9, 2022
Signed-off-by: Tanuja Shinde <tanuja.shinde@seagate.com>
81d7a1d to
e3eae6c
Compare
ujjwalpl
approved these changes
Aug 9, 2022
added 2 commits
August 10, 2022 20:57
Signed-off-by: Tanuja Shinde <tanuja.shinde@seagate.com>
Signed-off-by: Tanuja Shinde <tanuja.shinde@seagate.com>
b3ceb74 to
6680ba7
Compare
3357ac0 to
e84db05
Compare
Signed-off-by: Tanuja Shinde <tanuja.shinde@seagate.com>
e84db05 to
b466b90
Compare
Author
tanujashinde0405
left a comment
There was a problem hiding this comment.
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 <tanuja.shinde@seagate.com> * CORTX-33673: updated setattr Signed-off-by: Tanuja Shinde <tanuja.shinde@seagate.com> * CORTX-33673: updated lock unlock interfaces Signed-off-by: Tanuja Shinde <tanuja.shinde@seagate.com> * CORTX-33673: updated lock unlock interfaces Signed-off-by: Tanuja Shinde <tanuja.shinde@seagate.com> * CORTX-33673: push multi thread testing program in test folder Signed-off-by: Tanuja Shinde <tanuja.shinde@seagate.com> * CORTX-33673: push multi thread testing program in test folder Signed-off-by: Tanuja Shinde <tanuja.shinde@seagate.com> * CORTX-33673: push multi thread testing program in test folder Signed-off-by: Tanuja Shinde <tanuja.shinde@seagate.com> Signed-off-by: Tanuja Shinde <tanuja.shinde@seagate.com> Signed-off-by: Lakshita Jain <lakshita.jain@seagate.com>
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
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 tanuja.shinde@seagate.com
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