HBASE-15451 Remove unnecessary wait in MVCC
This commit is contained in:
parent
6977c5dee5
commit
463374ecfa
|
@ -146,8 +146,9 @@ public class MultiVersionConcurrencyControl {
|
|||
* of the passed in WriteEntry. Thus, the write is visible to MVCC readers.
|
||||
*/
|
||||
public void completeAndWait(WriteEntry e) {
|
||||
complete(e);
|
||||
waitForRead(e);
|
||||
if (!complete(e)) {
|
||||
waitForRead(e);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue