-
Notifications
You must be signed in to change notification settings - Fork 152
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make LiteDBStore & FileStore to atomically store transactions #413
Conversation
2b2a84c
to
3c491cb
Compare
0049b5d
to
b7fa968
Compare
var random = new System.Random(); | ||
var md5 = MD5.Create(); | ||
Transaction<AtomicityTestAction> tx; | ||
for (int j = 0; j < 50; j++) |
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.
Shouldn't this be txCount
too?
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.
Not necessarily; it's arbitrary.
b7fa968
to
d6b028c
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.
There is a small glitch.
d6b028c
to
d195181
Compare
d195181
to
19c6132
Compare
@earlbread @longfin Sorry, I rebased it on the current master again. |
Codecov Report
@@ Coverage Diff @@
## master #413 +/- ##
==========================================
+ Coverage 88.11% 88.16% +0.05%
==========================================
Files 198 198
Lines 14067 14226 +159
==========================================
+ Hits 12395 12543 +148
- Misses 1361 1371 +10
- Partials 311 312 +1
|
…w-state Improve HackAndSlash, RankingBattle execution time
This patch is an alternative solution to the same problem that #411 aims to address.