Description
Hi,
We are seeing an IO error when creating columnFamily. This happens only on Windows OS. We are observing this while running our tests. The tests are being run serially though and the dbName are unique. We use a guid to avoid any conflict.
Any pointers as to what might cause this? Under what conditions is the .dbtmp file created and trying to understand if there's any way to avoid the rename issue entirely.
Nuget Version
5.4.6.10
6.2.2 (switched to this as well but same result)
Code Snippet:
var db = RocksDb.Open(DefaultOptions.Db, dbPath, columnFamilies);
db.CreateColumnFamily(columnFamilyOptions ?? DefaultOptions.ColumnFamily, name);
Error
2020-11-20 17:48:27.637+00:00:[INF] - [RocksDbFactory:GetOrCreateRocksDbInstance@41] Opened rocksDB database at path ' with columnFamilies 'default'.
Failed: RocksDbSharp.RocksDbException: IO error: Failed to rename: /000006.dbtmp to: /CURRENT: Access is denied.
at RocksDbSharp.Native.rocksdb_create_column_family(IntPtr db, IntPtr column_family_options, String column_family_name)
at RocksDbSharp.RocksDb.CreateColumnFamily(ColumnFamilyOptions cfOptions, String name)