SuccessChanges

Summary

  1. Split rocks object store test into pure store conformance test and (details)
  2. Fix Rocksdb backend's durability issues. (details)
  3. Log a warning when a Repository is GC'ed and has not been closed (details)
Commit b7b4a0270fba958bfe63875f329e0a4b06831fed by groldan
Split rocks object store test into pure store conformance test and
object database specific tests
Signed-off-by: Gabriel Roldan <groldan@boundlessgeo.com>
The file was modifiedsrc/storage/rocksdb/src/test/java/org/locationtech/geogig/rocksdb/RocksdbObjectStoreConformanceTest.java (diff)
The file was addedsrc/storage/rocksdb/src/test/java/org/locationtech/geogig/rocksdb/RocksdbObjectDatabaseTest.java
Commit 871e3c5b222d90b89a6d6dcb2101c4f51bd9fad3 by groldan
Fix Rocksdb backend's durability issues.
We were making a bad use of the Rocksdb API, mistakenly thinking
WriteOptions.sync() would actually sync the data down to disk, whilst
it's a method returning a boolean indicating the value of the sync
property, which defaults to false.
This patch restores proper durability for all places where it's
necessary by calling WriteOptions.setSync(true) explicitly.
Signed-off-by: Gabriel Roldan <groldan@boundlessgeo.com>
The file was modifiedsrc/storage/rocksdb/src/main/java/org/locationtech/geogig/rocksdb/RocksdbConflictsDatabase.java (diff)
The file was modifiedsrc/storage/rocksdb/src/main/java/org/locationtech/geogig/rocksdb/RocksdbObjectStore.java (diff)
The file was modifiedsrc/storage/rocksdb/src/main/java/org/locationtech/geogig/rocksdb/RocksdbGraphDatabase.java (diff)
Commit 1fe488a31cc80c59661ba74c1049dd1b27077088 by groldan
Log a warning when a Repository is GC'ed and has not been closed
Signed-off-by: Gabriel Roldan <groldan@boundlessgeo.com>
The file was modifiedsrc/core/src/main/java/org/locationtech/geogig/repository/impl/RepositoryImpl.java (diff)