db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From oyste...@apache.org
Subject svn commit: r613866 - /db/derby/code/trunk/java/engine/org/apache/derby/impl/services/replication/master/MasterController.java
Date Mon, 21 Jan 2008 12:14:14 GMT
Author: oysteing
Date: Mon Jan 21 04:14:12 2008
New Revision: 613866

URL: http://svn.apache.org/viewvc?rev=613866&view=rev
Log:
DERBY-3235: Stop LogShipper when Master is stopped.  Contributed by V Narayanan

Modified:
    db/derby/code/trunk/java/engine/org/apache/derby/impl/services/replication/master/MasterController.java

Modified: db/derby/code/trunk/java/engine/org/apache/derby/impl/services/replication/master/MasterController.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/impl/services/replication/master/MasterController.java?rev=613866&r1=613865&r2=613866&view=diff
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/impl/services/replication/master/MasterController.java
(original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/impl/services/replication/master/MasterController.java
Mon Jan 21 04:14:12 2008
@@ -211,6 +211,8 @@
         logFactory.stopReplicationMasterRole();
         try {
             logShipper.flushBuffer();
+            
+            logShipper.stopLogShipment();
 
             ReplicationMessage mesg = new ReplicationMessage(
                         ReplicationMessage.TYPE_STOP, null);



Mime
View raw message