Skip to content
This repository has been archived by the owner on Oct 28, 2023. It is now read-only.

#2 Refactored DebugOnlyFileDataStore to FileOptimisticDataStore #3

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

robert-gazsi
Copy link

Implemented optimistic write data store, with an exclusive file access strategy.
The write method compares the original data with the actual data present in the file, to detect if the file has changed since the last read.
Reads and writes have a retry policy when the file is being used by another process (retry count is exposed as a property).
NUnit tests were implemented as well.
I did not test with a local network share.

…Store

Implemented optimistic write data store, with an exclusive file acces
strategy.
Reads and writes have a retry policy when the file is being used by
another process (retry count is exposed as a property).
NUnit tests were implemented as well.
…xtBatch

The operation is more atomic on the file implementation side +
simplicity in rest
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant