Skip to content
Snippets Groups Projects
Unverified Commit 78f457e4 authored by Manish R Jain's avatar Manish R Jain Committed by GitHub
Browse files

Fix bugs in snapshot move (#2440)

- Fix a bug with snapshot move, due to which the move would block forever. In particular, if a key-value didn't have a Version, then `txn.CommitAt` failed and didn't ever call `wg.Done()`. This caused `wg.Wait()` to block forever, hence keep the snapshot retrieval stuck forever.
- Fix a nil pointer dereference issue in `pool.shutdown`.
- Fix a nil pointer dereference issue with member connection.

This PR fixes #2410 .

Potential improvement:
- Make the predicate move concurrent, so we can quickly transfer large amounts of data in a short span of time. Can't prove its utility right now, but this should be useful in large data sets.
parent 740396be
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment