db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d..@apache.org
Subject svn commit: r782997 - in /db/derby/code/branches/10.5: ./ java/engine/org/apache/derby/impl/store/replication/master/AsynchronousLogShipper.java
Date Tue, 09 Jun 2009 13:24:14 GMT
Author: dag
Date: Tue Jun  9 13:24:13 2009
New Revision: 782997

URL: http://svn.apache.org/viewvc?rev=782997&view=rev
Log:
DERBY-3719 ...replication.buffer.LogBufferFullException' causes failover to fail w/ 'XRE07,
SQLERRMC: Could not perform operation because the database is not in replication master mode.

Backported fix from trunk as

svn merge -c 782991 https://svn.eu.apache.org/repos/asf/db/derby/code/trunk


Modified:
    db/derby/code/branches/10.5/   (props changed)
    db/derby/code/branches/10.5/java/engine/org/apache/derby/impl/store/replication/master/AsynchronousLogShipper.java

Propchange: db/derby/code/branches/10.5/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Tue Jun  9 13:24:13 2009
@@ -1 +1 @@
-/db/derby/code/trunk:772090,772449,772534,774281
+/db/derby/code/trunk:772090,772449,772534,774281,782991

Modified: db/derby/code/branches/10.5/java/engine/org/apache/derby/impl/store/replication/master/AsynchronousLogShipper.java
URL: http://svn.apache.org/viewvc/db/derby/code/branches/10.5/java/engine/org/apache/derby/impl/store/replication/master/AsynchronousLogShipper.java?rev=782997&r1=782996&r2=782997&view=diff
==============================================================================
--- db/derby/code/branches/10.5/java/engine/org/apache/derby/impl/store/replication/master/AsynchronousLogShipper.java
(original)
+++ db/derby/code/branches/10.5/java/engine/org/apache/derby/impl/store/replication/master/AsynchronousLogShipper.java
Tue Jun  9 13:24:13 2009
@@ -207,8 +207,8 @@
     public void run() {
         while (!stopShipping) {
             try {
-                shipALogChunk();
                 synchronized (forceFlushSemaphore) {
+                    shipALogChunk();
                     // Wake up a thread waiting for forceFlush, if any
                     forceFlushSemaphore.notify();
                 }



Mime
View raw message