Home
last modified time | relevance | path

Searched refs:newi (Results 1 – 1 of 1) sorted by relevance

/rocksdb-6.9/utilities/transactions/
Dwrite_prepared_txn_db.cc788 auto newi = new_snapshots.begin(); in CleanupReleasedSnapshots() local
790 for (; newi != new_snapshots.end() && oldi != old_snapshots.end();) { in CleanupReleasedSnapshots()
791 assert(*newi >= *oldi); // cannot have new snapshots with lower seq in CleanupReleasedSnapshots()
792 if (*newi == *oldi) { // still not released in CleanupReleasedSnapshots()
793 auto value = *newi; in CleanupReleasedSnapshots()
794 while (newi != new_snapshots.end() && *newi == value) { in CleanupReleasedSnapshots()
795 newi++; in CleanupReleasedSnapshots()
801 assert(*newi > *oldi); // *oldi is released in CleanupReleasedSnapshots()