Rocksdb secondary instance throws exception "Can not get size for file.sst" after calling tryCatchUpWithPrimary() #13297
Open
Description
Expected behavior
No error happens
Actual behavior
Java exception occurred:
org.rocksdb.RocksDBException: Can not get size for:
z:\rocks_dbg/004662.sst:
Steps to reproduce the behavior
For all the steps default options are used.
- Open a primary Rocksdb with all columns in cpp app
- Open a secondary Rocksdb in java app, along with the same columns opened and with
setMaxOpenFiles(-1)
- Periodically (each 6 seconds) catch up the primary in java app using
tryCatchUpWithPrimary()
---> In this step everything is OK - Close the primary instance and open it again in cpp app.
- Use the same secondary instance opened in (2) and call
tryCatchUpWithPrimary()
in java app - Java app fails ---> got the exception mentioned above.
Notes:
a. Primary instance does not create or delete columns dynamically.
b. Rocksdb primary folder size 90Mb
Setup
Windows 2019 Server
File system: NTFS
msvc compliler v.19.42.34435
Rocksdb 9.8.4 from vcpkg
rocksdbjni-9.8.4.jar
Related issues
May be related to #12821
Metadata
Assignees
Labels
No labels