GraphImporter fails to load data properly when ArcadeDB server is alive #7479
|
When ArcadeDB server(dockerized) is running and GraphImporter(separate Java process) is run to load data, exceptions appear in server logs and data is not shown properly on UI. ArcadeDB Docker container logs -> ArcadeDB_Server_alive_GraphImporter_dataload_issue.logGraphImporter logs -> ArcadeDB_GraphImporter_server_alive.logArcadeDB docker image version:
|
Replies: 1 comment 2 replies
|
Thanks for the detailed report and logs - this is fixed now. What was happening: running Fix: ArcadeDB now protects each WAL file individually, so a second process sharing the same database directory can no longer delete or interfere with files another instance still has open. Merged in #7504 (tracked in #7502). Recommendation either way: don't open the same database from two processes at the same time (an embedded tool like GraphImporter and a running server). If a server already has the database open, connect to it remotely (HTTP/Postgres/etc.) instead. This is now called out explicitly in the docs. Two smaller, unrelated things found along the way were filed separately: #7505 and #7506. ❤️ Thanks for helping make ArcadeDB better! ArcadeDB is free and open source, sustained by its community. If it's useful to you or your company, please consider becoming a sponsor to keep development going. |



Thanks for the detailed report and logs - this is fixed now.
What was happening: running
GraphImporteras a separate process while the ArcadeDB Server already had the same database open could corrupt it. The importer's own clean shutdown was deleting WAL files the still-running server had open, which is why you saw repeated errors in the server log, no data viaSELECTwhile the server was up, and zeroed record counts after restart.Fix: ArcadeDB now protects each WAL file individually, so a second process sharing the same database directory can no longer delete or interfere with files another instance still has open. Merged in #7504 (tracked in #7502).
Recommendation either way: don't ope…