This repository has been 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 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
tanujashinde0405
requested review from
sachinpunadikar,
ujjwalpl,
cdeshmukh,
nitin-seagate and
lakshita-jain
as code owners
August 5, 2022 06:55
tanujashinde0405
force-pushed
the
CORTX-33673
branch
4 times, most recently
from
August 5, 2022 14:21
4f8e807
to
d4e3971
Compare
… implementation Signed-off-by: Tanuja Shinde <tanuja.shinde@seagate.com>
tanujashinde0405
force-pushed
the
CORTX-33673
branch
from
August 5, 2022 15:28
d4e3971
to
85b769a
Compare
Signed-off-by: Tanuja Shinde <tanuja.shinde@seagate.com>
hessio
added
the
Status: Waiting to be Reviewed
PR is waiting for reviewers to review the PR
label
Aug 8, 2022
Signed-off-by: Tanuja Shinde <tanuja.shinde@seagate.com>
ujjwalpl
suggested changes
Aug 9, 2022
Signed-off-by: Tanuja Shinde <tanuja.shinde@seagate.com>
tanujashinde0405
force-pushed
the
CORTX-33673
branch
2 times, most recently
from
August 9, 2022 17:38
7fc947a
to
81d7a1d
Compare
ujjwalpl
approved these changes
Aug 9, 2022
Signed-off-by: Tanuja Shinde <tanuja.shinde@seagate.com>
tanujashinde0405
force-pushed
the
CORTX-33673
branch
from
August 9, 2022 18:01
81d7a1d
to
e3eae6c
Compare
ujjwalpl
approved these changes
Aug 9, 2022
nitin-seagate
approved these changes
Aug 10, 2022
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 <tanuja.shinde@seagate.com>
Signed-off-by: Tanuja Shinde <tanuja.shinde@seagate.com>
tanujashinde0405
force-pushed
the
CORTX-33673
branch
2 times, most recently
from
August 11, 2022 08:18
b3ceb74
to
6680ba7
Compare
tanujashinde0405
force-pushed
the
CORTX-33673
branch
2 times, most recently
from
August 11, 2022 08:45
3357ac0
to
e84db05
Compare
Signed-off-by: Tanuja Shinde <tanuja.shinde@seagate.com>
tanujashinde0405
force-pushed
the
CORTX-33673
branch
from
August 11, 2022 08:53
e84db05
to
b466b90
Compare
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
sachinpunadikar
changed the title
[WIP] CORTX-33673: Improvement for lock-unlock interface with lock end time…
CORTX-33673: Improvement for lock-unlock interface with lock end time…
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>
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