About sync

manual

Database Management Settings

Explains settings and performance tuning of the ObjectDB Java object database for JPA/JDO.... /> <recovery enabled = "true" sync = "false" path = "." max = "128mb" /> <recording enabled = "false" sync = "false" path = "." mode = "write" /> ... element <recovery enabled = "true" sync = "false" path = "." max = "128mb" /> When ...

 
forum_thread

Sync ObjectDB and MySQL

Is there a listener or program that can be used to sync across data from/to MySQL and ObjectDB so that I can use ObjectDB for development and then just make sure MySQL always has the same data so that we can say "we use MySQL as one of our products"? ... Is there a listener or program that can be used to sync across data from/to MySQL and ObjectDB so that I can use ObjectDB for ...

 
api-jdo

setSynchronization(sync)

The user can specify a Synchronization instance to be notified on transaction completions.(Method of javax.jdo.Transaction)

 
forum_thread

Objectdb recovery

Hello, I have question regarding objectdb recovery when objectdb is not finished correctly (power outage). We are using following configuration: <recovery enabled="true" sync="false" path="." max="128mb"/> <recording enabled="false" sync="false" path="." mode="write"/> Is there any possibility of data loss when power outage? ... configuration: <recovery enabled = "true" sync = "false" path = "." max = "128mb" / > <recording enabled = "false" sync = "false" path = "." mode = "write" / > Is ...

 
forum_thread

Safe Settings

Hi, I am trying to set up ObjectDb in a safe way that allows turning the machine off while database transactions are running. I would like to test if things are really safe and if I don't get corrupted database files in any possible case. I found "recovery" and "recording" in the objectdb.conf file. Which one is safer to use? I suppose I should turn on sync="true", right? ... one is safer to use? I suppose I should turn on sync="true", right? I already tried playing with both configuration ... with the debugger and I put a breakpoint in FileDescriptor#sync(). It never got triggered with no setting that I could come up with. How ...

 
forum_thread

Replication issue, Replayer failing due to NullPointerException.

I'm getting replication errors and upon trying to play the replayer I get a NullPointerException which i'm also seeing in the slave logs when it's trying to replicate... ... add this causes the replicated database to be out of sync with the master. edit ... /> <recovery enabled = "true" sync = "false" path = "." max = "512mb" /> ...

 
forum_thread

Replication error on slave restart

I'm trying to enable replication on master server that was running with "recovery" enabled previously. I have copied database file to slave... and so on by manual. It worked fine. But if I restart slave server: ... <recording enabled = "true" sync = "false" path = "." mode = "write" /> ... /> <recovery enabled = "false" sync = "false" path = "." max = "128mb" /> ...

 
forum_thread

EntityManagerFactory Fails To Swtich Over To Slave When Master Is Unavailable

I have a simple task to validate the sample code will switch over to the slave database when the master is unavailable. I simulate the master unavailable by stopping the master server; which generates the following exception below. What am I doing wrong? It appears the connection manager fails to try the second URL in the list: objectdb://10.9.2.15:9998//10.9.2.15:9999/test.odb;user=admin;password=password Thank you in advance. ... > <recovery enabled = "true" sync = "true" path = "." max = "128mb" / > <recording enabled = "true" sync = "true" path = "." mode = "write" / > ...

 
forum_thread

Replication failed

Dear support members, I am trying to set up a replication url in objectdb.conf and have the the following error in the log files: [ObjectDB 2.3.4] javax.persistence.PersistenceException Failed to connect to server 127.0.0.1:6136 (Connection refused) (error 522) at com.objectdb.jpa.EMF.createEntityManager(EMF.java:176) My objectdb.conf: ... /> <recovery enabled = "true" sync = "true" path = "." max = "128mb" /> <recording enabled = "true" sync = "false" path = "." mode = "write" /> ...

 
forum_thread

Replaying recorded requests...

Hi, I get the following when ODB starts in embedded mode: Replaying recorded requests... then I get something like 500 lines of recordset information. Here is the relevant part of the config file: Questions: 1) Why am I seeing this if I've set recording enabled to false? 2) I... /> <recovery enabled = "true" sync = "false" path = "." max = "128mb" /> <recording enabled = "false" sync = "false" path = "." mode = "write" /> ...