Skip to content

Commit

Permalink
(fixbug) replicator will blocked when check reader failed (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
fengjiachun authored and killme2008 committed Mar 8, 2019
1 parent 5a90ee5 commit 5d055ef
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -445,9 +445,9 @@ void installSnapshot() {
id.unlock();
return;
}
Requires.requireTrue(this.reader == null);
boolean doUnlock = true;
try {
Requires.requireTrue(this.reader == null);
reader = options.getSnapshotStorage().open();
if (reader == null) {
final NodeImpl node = options.getNode();
Expand Down

0 comments on commit 5d055ef

Please sign in to comment.