Delete committed rollbacks when they expire (4/n)
Now we delete available and committed rollbacks when they expire. They will be moved to historical rollbacks for debugging purpose. Bug: 172644981 Test: m Change-Id: I96d81313936e392babf154b9da826470b4cb9d41
This commit is contained in:
@@ -715,7 +715,7 @@ class RollbackManagerServiceImpl extends IRollbackManager.Stub implements Rollba
|
||||
Iterator<Rollback> iter = mRollbacks.iterator();
|
||||
while (iter.hasNext()) {
|
||||
Rollback rollback = iter.next();
|
||||
if (!rollback.isAvailable()) {
|
||||
if (!rollback.isAvailable() && !rollback.isCommitted()) {
|
||||
continue;
|
||||
}
|
||||
Instant rollbackTimestamp = rollback.getTimestamp();
|
||||
|
||||
Reference in New Issue
Block a user