Skip to content

Commit 114e77b

Browse files
authored
fix(bigtable): prune older AFEs first (#13215)
1 parent ca594e4 commit 114e77b

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

  • java-bigtable/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/internal/session

java-bigtable/google-cloud-bigtable/src/main/java/com/google/cloud/bigtable/data/v2/internal/session/SessionList.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,9 +140,8 @@ void prune() {
140140
continue;
141141
}
142142
if (handle.lastConnected.isBefore(horizon)) {
143-
continue;
143+
it.remove();
144144
}
145-
it.remove();
146145
}
147146
}
148147

0 commit comments

Comments
 (0)