1

Xodus doc states it provides MVCC. This indicates, that it can be accessed concurrently. On the other hand doc for class Environment states: "It is not possible to share a single database directory between different environments."

Which is true? Can I access a Xodus database in read-only mode while it is open for some other process?

funql.org
  • 408
  • 4
  • 9

1 Answers1

2

Xodus is an embeddable database for JVM, so it can be accessed concurrently within a single process. As of now, development of concurrent access to a Xodus database from within multiple processes is in progress.

Vyacheslav Lukianov
  • 1,913
  • 8
  • 12
  • The Issue https://youtrack.jetbrains.com/issue/XD-613 status now is re-opened does it mean that there have been issues with accessing Xodus concurrently from different processes? My setup of Xodus is that the servlet runs on NGINX Unit which spawns multiple instances of the server application but in the same machine. – quarks Nov 28 '19 at 07:57
  • XD-613 is most likely obsolete as now we go the other way: https://stackoverflow.com/questions/56995773/multiple-xodus-app-to-access-share-single-directory/57003792#57003792 – Vyacheslav Lukianov Nov 28 '19 at 13:58