I am a new developer to JavaBDB. I have designed a process as below :
1. A java BDB cache loader which loads data to a environment with a home path in write mode.
2. A java BDB cache reader which point to same home path and in readonly mode.
I load data using loader and then strart the reader it works fine. I can fetch data.
Now i start reader and then load additional data, i am not able to get this newly loaded data using reader until i restart my reader.
Can you please help me ?
Thanks in advance.
Do you have a reproducer program? What is the exact issue? Does it return any error or reader just hangs until loader starts?
What's the version of BDB you are using? Which platform is your application running on? I guess you are using the Java APIs of BDB. If so, which JDK do you use to compile BDB libraries?
I'd be good if you could privode more detail and it helps investigation.
Thanks for your time
I am using Java api and version is 5.0.73.
I dont have a reproducer program to share but my use case is as below.
I have a java program which populates data in cache store and then there is another java process which is trying to read out of this store.
So basically i am accessing same store from different jvm processes one with read only environment and another with read_write environment.
The newly added elements to store by the writing process are not available in the reader process (different jvm process) untill i restart the reader.
I hope i am able to add more clarity.
Moreover, the BDB version you are using is a bit old. Our latest version is Berkeley DB 6.0.20. I suggest you to upgrade the library and test again. You could download it from Oracle Berkeley DB Downloads</title><meta name="Title" content="Oracle Berkeley DB Downloads&quo…