-
Notifications
You must be signed in to change notification settings - Fork 173
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
different instances using the same jnl file #223
Comments
The journal is not intended to be shared by two processes. It is not safe
that when used that way.
…On Wed, Apr 13, 2022 at 22:18 whisere ***@***.***> wrote:
Hello, I just found two different instances of blazegraph set up with .war
files are using the same bigdata.jnl file due to the default setting using
the root folder of server container instead of the root of the instance
folder. I wonder if there is any potential problem with different instances
using the same jnl file? And are there ways to seperate the data for the
two instances now? Thanks!
—
Reply to this email directly, view it on GitHub
<#223>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AATW7YF3O5UWHKFDURBOF43VE6TB5ANCNFSM5TMVA5BQ>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Thanks! Are the data saved properly in the file from the two instances? In term of not safe it is about one instance can access the data from the other? Is there way to separate them now? |
The journal is the actual data storage. It must not be used by more than
one process at a time. Doing so will corrupt your data as soon as both
processes write on the same journal file.
I have no idea about your particular setup. Just make sure that you have a
separate file location for each journal.
You can run multiple triple or quad store instances using the same journal
as long as they are all being operated by the same process.
Bryan
…On Fri, Apr 15, 2022 at 17:20 whisere ***@***.***> wrote:
Thanks! Are the data saved properly in the file from the two instances? In
term of not safe it is about one instance can access the data from the
other? Is there way to separate them now?
And is there way to view the jnl file like viewing database in a mysql or
postgresql client gui? Thanks.
—
Reply to this email directly, view it on GitHub
<#223 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AATW7YDGEX7GYAS4EEQMFCLVFIBT7ANCNFSM5TMVA5BQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Thanks! I am a bit confused re different processes and instances above. War files set up folders under server container, they are different processes (I called them instances in the questions)? And we can have multiple name space stores under the process running under the folder? |
Hello, I just found two different instances of blazegraph set up with .war files are using the same bigdata.jnl file due to the default setting using the root folder of server container instead of the root of the instance folder. I wonder if there is any potential problem with different instances using the same jnl file? And are there ways to seperate the data for the two instances now? Thanks!
The text was updated successfully, but these errors were encountered: