X-Git-Url: http://xvm.mit.edu/gitweb/invirt/third/libt4.git/blobdiff_plain/4b9798f44ae94deabf87dd534337b55259272950..5987a5357ccfd818d540a7aa58eb498a1be07aa1:/rsm.cc diff --git a/rsm.cc b/rsm.cc index 66c8d97..bdeabaa 100644 --- a/rsm.cc +++ b/rsm.cc @@ -189,12 +189,12 @@ bool rsm::sync_with_backups() { adopt_lock ml(rsm_mutex); ml.unlock(); { - // Make sure that the state of lock_server_cache_rsm is stable during + // Make sure that the state of lock_server is stable during // synchronization; otherwise, the primary's state may be more recent // than replicas after the synchronization. lock ml(invoke_mutex); // By acquiring and releasing the invoke_mutex once, we make sure that - // the state of lock_server_cache_rsm will not be changed until all + // the state of lock_server will not be changed until all // replicas are synchronized. The reason is that client_invoke arrives // after this point of time will see inviewchange == true, and returns // BUSY.