-
Notifications
You must be signed in to change notification settings - Fork 6.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot start RocksDB XTDB nodes from multiple processes on Windows #12780
Comments
@serioga I think we need to eliminate any XTDB issues here really. In your error above I see the number What version of RocksDB are you using please? |
com.xtdb/xtdb-rocksdb {:mvn/version "1.24.3"} which uses if (temp.exists() && !temp.delete()) {
throw new RuntimeException(
"File: " + temp.getAbsolutePath() + " already exists and cannot be removed.");
} I have no idea where the |
@serioga, @adamretter thanks for looking into this 🙏 I believe we should be able to pass (xtdb/xtdb#3113 on our side) |
Ah, this is from the (defn- load-rocksdb-native-lib []
(let [tmp (doto (io/file (System/getProperty "java.io.tmpdir") "xtdb_rocksdb-6.12.7") .mkdirs)
library (io/file tmp (Environment/getJniLibraryFileName "rocksdb"))]
(.loadLibrary (NativeLibraryLoader/getInstance) (str tmp))
(str library))) |
Expected behavior
Work on Windows simultaneously with multiple apps that use XTDB connection with RocksDB.
Actual behavior
Only first running instance can start XTDB node.
Other apps produce error:
Steps to reproduce the behavior
Start XTDB node with RocksDB storage from different processes simultaneously.
The text was updated successfully, but these errors were encountered: