forked from dgraph-io/badger
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Acquire lock before incrementing orc.nextTxnTs (dgraph-io#806)
* Acquire lock before incrementing orc.nextTxnTs Incrementing the value of db.orc.nextTxnTs without acquiring lock causes race condition. See https://teamcity.dgraph.io/viewLog.html?buildId=11417&buildTypeId=Badger_UnitTests logs
- Loading branch information
Ibrahim Jarif
authored
May 9, 2019
1 parent
50bef1d
commit 3374ec2
Showing
2 changed files
with
7 additions
and
1 deletion.
There are no files selected for viewing
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
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