0 Replies Latest reply: Apr 3, 2013 2:54 AM by 1000240 RSS

    derby.replication.maxLogShippingInterval does not work for me

    1000240
      Hi All,

      As mention by subject, derby.replication.maxLogShippingInterval does not work for me.

      Derby version: 10.8.2.2

      1. Set derby.properties as below.

      derby.properties file:
      #Java DB Properties File
      #Wed Dec 19 14:15:41 SGT 2012
      derby.replication.maxLogShippingInterval=10000
      derby.replication.minLogShippingInterval=1000
      derby.replication.logBufferSize=8196
      derby.language.logStatementText=true

      Result: did see log statement has lot of statements logged which means the setting should be correct?

      2. Test by inserting a record into derby database, waited for 1 minute ( set to 10 second above ), does not see it replicated over to slave DB. If I insert lot of records, then it will get replicated over ( log buffer full replication )

      Question: I want to use replication interval to ensure it is replicated on time rather than waiting for log buffer to get full. Please help, appreciate any comment.