mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-10-27 06:20:02 +00:00
Reduced admission lock contention
- Generation admission uses nonfair metadata lock handoffs - Waiting cutovers retain priority over later generation stages - Concurrent stage tests verify cutover drain and runtime retirement
This commit is contained in:
1 parent
f3b6a0ec1b
commit
34c2e4e560
2 files changed
+50
-1
No files matched your search
@@ -104,7 +104,7 @@ public final class GenerationAdmission {
|
||||
|
||||
private State(Path root) {
|
||||
this.root = root;
|
||||
this.lock = new ReentrantLock(true);
|
||||
this.lock = new ReentrantLock();
|
||||
this.changed = lock.newCondition();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user