Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mvcc: no need to hold tx lock when converting kvs to watch events (#1…
…1701) Method `kvsToEvents` can take a long time if a large number of events need to be synchronized. However, this method does not access any shared resources, so it no need to hold the tx lock when executing. So we can move it outside to reduce lock holding time.
- Loading branch information