Description
Currently the return value of MVCC#complete indicates whether readPoint already advanced over write number of the given WriteEntry:
return readPoint.get() >= writeEntry.getWriteNumber();
While in MVCC#checkAndWait we never take usage of this but always call waitForRead which will acquire and release lock on readWaiters and cause additional context switch. This JIRA will improve this logic and remove the unnecessary wait.