Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
None
-
None
-
None
Description
Snapshot restore tests were added as part of PR and test to restore snapshot to another bucket fails sometime for Legacy bucket layout with exception File Exists. In the deep dive, it was found that it is because of PR. In the PR, seek operation was used on RocksDB table which sometime returns non-null response and causes fake dir creation. It is possible that RocksDB's seek operation uses bloom filter which doesn't guarantee that key exists (false positive).
To fix this, we should add volume and bucket check here. We may or may not need to iterate over the iterator.