This repository was archived by the owner on Feb 8, 2024. It is now read-only.
CORTX-33646: Dir Conf store is not in sync when used from different t…#867
Merged
Conversation
e2b3003 to
8a14846
Compare
8a14846 to
573e1e8
Compare
…hreads. Signed-off-by: Tanuja Shinde <tanuja.shinde@seagate.com>
573e1e8 to
9ed114d
Compare
ujjwalpl
approved these changes
Aug 4, 2022
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.
…hreads.
Signed-off-by: Tanuja Shinde tanuja.shinde@seagate.com
Problem Statement
Design
Added DirKvPayload class in kvstore for Dir Conf store operations.
tested PR with Dir conf store as below and for different threads , data is in sync now:
`>>> from cortx.utils.conf_store import Conf
Ran tests:
`[root@ssc-vm-g4-rhev4-1881 conf_store]# ./test_conf_store_dir.py
dir:///tmp/tmptt5e3u1x
....
Ran 4 tests in 0.143s
OK
`
Coding
Testing
Review Checklist
Before posting the PR please ensure:
KVstore/Confstore feature (changes/fixes) checklist
Confirm changes are made for:
Documentation