Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix synchronization of finishedRecovery()

  • Loading branch information...
commit bcd0f9b811c16c84b0716c060e72780ecafa53fc 1 parent d67ea2e
@dgomezferro authored
View
2  src/main/java/com/yahoo/omid/tso/persistence/LoggerProtocol.java
@@ -123,7 +123,7 @@ synchronized void execute(ByteBuffer bb){
*
* @return true if the recovery has finished
*/
- public boolean finishedRecovery() {
+ synchronized boolean finishedRecovery() {
return (oracle && commits && aborts) || consumed;
}
Please sign in to comment.
Something went wrong with that request. Please try again.