commit | 7f77da07e00c219d808a1a2201512d424ca706ef | [log] [tgz] |
---|---|---|
author | Sergey Rogulenko <rogulenko@google.com> | Fri Sep 25 18:28:51 2015 -0700 |
committer | Sergey Rogulenko <rogulenko@google.com> | Fri Sep 25 18:28:51 2015 -0700 |
tree | 50d127c659df258bcb90154689b60e16723e4534 | |
parent | 05885dd975fbcda6116aa4436a51d5fe70614312 [diff] |
syncbase/store: fix a race condition Consider two transactions committing concurrently and doing tx.removeEvent() at the same time (transaction.go:169). Now the event queue is empty and both transcations will not be tracked. Fix: move this line under the tx.mg.mu Lock. Change-Id: I13b54fa05ea35c413d64226d596dd7e64fc9d5e4
This repository contains a reference implementation of the Vanadium APIs.
Unlike the APIs in https://github.com/vanadium/go.v23, which promises to provide backward compatibility this repository makes no such promises.