Commit Graph
42 Commits
Author SHA1 Message Date
Axel Uhl 7181b2ecf9 fixing grave bug with replication: replicator was being resumed after receiving *first* initial load, but we need to wait until after the *last* initial load 2014-12-12 07:41:20 +01:00
Axel Uhl 64451c2702 fixing bug 2493; introduced a ThreadLocal telling whether replica is receiving initial load or running a master operation; not firing back to master if this flag is set 2014-12-11 09:57:18 +01:00
Axel Uhl 70647f1afc added better Javadoc for operation ID decoration during transitive replication 2014-12-01 09:59:20 +01:00
Axel Uhl 3e456170bf fixed issue described by comment #5 in bug 2408; the ID of operations sent from replica to master is stored in thread local and attached to operations sent out on behalf of this 2014-11-30 01:47:22 +01:00
Axel Uhl 8e7ab908e7 replicate operations initiated on replica to master and ignore them when they come back to that replica; see bug 2408 2014-11-29 23:50:06 +01:00
Axel Uhl 22d9ecdd3b working on bug 2408, adding an implementation that has the replica side of serializing an operation to the master through an HTTP request 2014-11-28 18:12:09 +01:00
Axel Uhl 3b499d8492 working towards a solution for bug 2480 by adding OperationWithResult.isRequiresExplicitTransitiveReplication and respecting it in replicate(...) 2014-11-28 16:39:08 +01:00
Axel Uhl 8ebab4ca50 basic authentication and session replication is in place; no longer use EhCache as it seems very tricky to replicate; still issues with details of session authentication replication 2014-11-24 17:56:43 +01:00
Axel Uhl 051f867a29 moved setting of context class loader for initial load deserialization into abstract implementation 2014-11-24 14:30:37 +01:00
Axel Uhl b36b2e146f added missing pom.xml stuff for replication.testsupport 2014-11-21 12:28:03 +01:00
Axel Uhl 801946302f a first compileable version where SecurityService is a replicable 2014-11-20 21:20:08 +01:00
Axel Uhl 355239c8b1 first steps towards making SecurityService a Replicable; introduced operation base interface; register SecurityService as a Replicable; introduced ObjectInputStream / Cache 2014-11-20 17:39:58 +01:00
Axel Uhl 5439757b13 fixed replication operation queueing in Replicator; adjusted PrematureOperationReceiptTest to fail with unfixed queueing 2014-11-20 11:25:06 +01:00
Axel Uhl 6956567574 refactored AbstractRaceChangeListener so that subclasses can provide a defaultAction() implementation; in preparation of solving bug 2473. 2014-11-20 09:58:11 +01:00
Axel Uhl ffea760069 avoid premature replication listener registration when no replica is currently registered 2014-11-17 14:58:17 +01:00
Axel Uhl 28e572a94c fixed synchronization with waiting for Replicable instances 2014-11-17 00:12:36 +01:00
Axel Uhl 9df49648f5 addressing bug2409 comment #9 by changing semantics of -Dreplicate.on.start from boolean to list of fully-qualified Replicable class names 2014-11-16 23:21:34 +01:00
Axel Uhl 6bd64b7e7d use a (currently fixed) list of Replicable IDs to wait for before auto-launching replication 2014-11-16 23:04:35 +01:00
Axel Uhl 417dbd0015 slight improvements for replication master descriptor toString(); handle missing replicables a bit better 2014-11-16 19:05:45 +01:00
Axel Uhl 15ff17798a set thread context class loader for master data import to ensure ObjectInputStream can resolve all classes as needed 2014-11-14 15:48:37 +01:00
Axel Uhl f1e23da6b1 consolidate imports on Replicable, avoiding warnings 2014-11-14 13:06:54 +01:00
Axel Uhl 59803c533c use Replicable.writeOperation in ReplicationServiceImpl 2014-11-14 13:06:08 +01:00
Axel Uhl 8b195d5fed factoring StreamingOutput classes in MasterDataResource 2014-11-14 13:03:51 +01:00
Axel Uhl 29db1e0858 fixed initial load serialization for replication tests 2014-11-14 00:21:16 +01:00
Axel Uhl a808d78d14 all compile errors removed in Eclipse workspace for bug2409; now it's time for testing... 2014-11-13 23:51:45 +01:00
Axel Uhl e279a2d0af fixed URL production for replica IDs in replication master descriptor 2014-11-13 23:10:41 +01:00
Axel Uhl bb5a16e1ac major refactoring introducing tagging the replication streams with the Replicable IDs and introducing a new URL parameter for the initial load servlet request 2014-11-13 23:06:05 +01:00
Axel Uhl 61320d9428 added admin console module inherits to TvView.gwt.xml 2014-11-12 14:33:50 +01:00
Axel Uhl e1875db57b added admin console module inherits to Spectator.gwt.xml 2014-11-12 14:27:18 +01:00
Axel Uhl 1580fd4052 added Admin console module inherit to PolarSheet.gwt.xml 2014-11-12 14:13:43 +01:00
Axel Uhl 5fada25549 added admin console module inherits to Leaderboard.gwt.xml 2014-11-12 14:10:33 +01:00
Axel Uhl f61243bfbd preparing for multiple replicables 2014-11-12 13:06:49 +01:00
Axel Uhl fd297bea13 set context class loader in Replicator to that of the Replicable to enable de-serialization of replicable's domain objects 2014-11-10 01:11:41 +01:00
Axel Uhl 80aff1561b renamed packages in com.sap.sse.replication according to bundle name; fixed launch configurations 2014-11-09 20:30:31 +01:00
Axel Uhl d24fce24be renamed com.sap.sailing.server.replication packages to com.sap.sse.replication 2014-11-09 02:02:10 +01:00
Axel Uhl 353342ecbf moving IsManagedByCache to com.sap.sse.common solves the "inconsistent hierarchy" issue in android.shared 2014-11-09 00:52:47 +01:00
Axel Uhl b2ed3ce60b down to two compilation errors... 2014-11-09 00:45:59 +01:00
Axel Uhl 25d173ef5b fixed generics in operations; still not everything compiles 2014-11-09 00:17:45 +01:00
Axel Uhl 3c9556b592 another interims commit; Peer and Transformer can work with Operation; OperationalTransformer uses OperationWithTransformationSupport 2014-11-08 23:39:23 +01:00
Axel Uhl a9a3997752 trying to get the Operation interface under control... 2014-11-08 22:06:58 +01:00
Axel Uhl cd28a65394 major refactoring, using only Operation<T> instead of OperationWithTransformationSupport which is currently not applicable the way we use the operation return type 2014-11-07 23:45:05 +01:00
Axel Uhl bbc2796d59 renamed com.sap.sailing.server.replication bundle to com.sap.sse.replication 2014-11-07 21:47:57 +01:00