Commit Graph
123 Commits
Author SHA1 Message Date
leventov 5eda4c44b3 HCOLL-410 2015-12-13 18:41:29 +03:00
Rob Austin adb309185c added identifier etc for remove events. 2015-12-12 15:12:42 +00:00
Rob Austin 3647c0a555 HCOLL-410 map event listener expose the identifer, timestamp and hasValueChanged 2015-12-11 17:20:22 +00:00
Rob Austin 386e1828ef HCOLL-403 When the following setting is set on chronicle map "bootstrapOnlyLocalEntries==false", it is not sending all the entries. - this is the same issue but it was affecting chronicle engine replication 2015-10-23 11:42:42 +01:00
rob d1d1d2daff HCOLL-403 removed another filter that was preventing all the message to be sent ( from all the nodes on bootstrap ) 2015-10-14 10:46:58 +01:00
Rob Austin 99258b23ac HCOLL-403 When the following setting is set on chronicle map "bootstrapOnlyLocalEntries==false", it is not sending all the entries. 2015-10-12 17:56:14 +01:00
leventov 3c296823e6 Fix ModificationIterator.hasNext() condition 2015-09-16 19:26:20 +03:00
Peter Lawrey 8a816054d3 Reduce line padding. 2015-09-11 15:26:02 +01:00
Peter Lawrey e873899ff4 CE-145 Review exception handling in Wire 2015-09-02 10:18:51 +01:00
leventov 5a16c8579d HCOLL-382 fixed added flag passing to MapEventListener 2015-08-26 23:22:19 +03:00
leventov 604c5f9e71 Rollback 9f9aaa9b9e 2015-08-26 22:56:44 +03:00
Rob Austin a0ecb8fc6b HCOLL-382 add the UpdateResult field to net.openhft.chronicle.map.MapEventListener#onPut 2015-08-20 14:04:49 +01:00
leventov bc24505e49 CE-134 Add ChronicleMap.update(K, V) method 2015-08-18 02:31:22 +03:00
leventov 2f32764082 Make replace() returns on absent entry consistent 2015-08-17 23:09:00 +03:00
Peter Lawrey b6426edbd2 CHENT-67 listeners in ChronicleMap should be transient. 2015-07-14 18:26:52 +01:00
Rob Austin 9b793bed6d added fix to this java.lang.AssertionError: Invalid address 1
at net.openhft.lang.io.NativeBytes.setStartPositionAddress(NativeBytes.java:77)
                 	at net.openhft.lang.io.NativeBytes.<init>(NativeBytes.java:67)
                 	at net.openhft.lang.io.NativeBytes.wrap(NativeBytes.java:83)
                 	at net.openhft.chronicle.map.ReplicatedChronicleMap$1$1.onEntry(ReplicatedChronicleMap.java:474)
                 	at net.openhft.chronicle.map.ReplicatedChronicleMap$ModificationIterator.nextEntry(ReplicatedChronicleMap.java:1759)
                 	at net.openhft.chronicle.map.ReplicatedChronicleMap$1.nextEntry(ReplicatedChronicleMap.java:460)
                 	at net.openhft.chronicle.engine.map.CMap2EngineReplicator$1.nextEntry(CMap2EngineReplicator.java:132)
                 	at net.openhft.chronicle.engine.map.CMap2EngineReplicator$1.forEach(CMap2EngineReplicator.java:120)
                 	at net.openhft.chronicle.engine.server.internal.ReplicationHandler$1$1.action(ReplicationHandler.java:124)
                 	at net.openhft.chronicle.threads.VanillaEventLoop.runOneTenthLowHandler(VanillaEventLoop.java:154)
                 	at net.openhft.chronicle.threads.VanillaEventLoop.run(VanillaEventLoop.java:108)
                 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
                 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
                 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
                 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
                 	at java.lang.Thread.run(Thread.java:745)
                 sends:
2015-07-06 23:54:11 +01:00
Peter Lawrey 9c8fea8367 Replace "throws Exception" with the specific Exception(s) thrown. 2015-06-28 18:52:05 +01:00
Peter Lawrey 9f9aaa9b9e Update event to include the previous value. 2015-06-27 16:17:00 +01:00
rob e0433a0922 changed the version of chronicle map back to 2.1 and added some fixes to replication 2015-06-24 13:11:34 +01:00
Peter Lawrey 34c4cd8d32 Code tidy a wider set of code. 2015-06-21 12:25:59 +01:00
Peter Lawrey 021f5079ba OHFT-58 Change license to LGPLv3 to protect redistribution. 2015-06-19 11:26:23 +01:00
leventov 87738b4f79 HCOLL-368 removed unused thread local buffer in ReplicatedChronicleMap 2015-06-15 20:30:17 +03:00
leventov 408a8b5c43 HCOLL-368 Optimized Engine replication implementation in ReplicatedChronicleMap 2015-06-15 20:23:30 +03:00
Rob Austin 5c220f68b7 CE-57 adding support for engine to engine replication 2015-06-12 16:15:04 +01:00
Rob Austin 261d315688 CE-57 adding support for engine to engine replication 2015-06-11 16:10:23 +01:00
Rob Austin 35178c9694 HCOLL-329 removed assert 2015-05-29 19:16:47 +01:00
Rob Austin 0f003b1370 HCOLL-329 fixing the bootstrapping timestamp issue 2015-05-29 19:14:14 +01:00
Rob Austin 80c80ff672 HCOLL-329 fixing the bootstrapping timestamp issue 2015-05-29 19:09:54 +01:00
Rob Austin 48362f031a added a Null check for - modificationNotifier != null 2015-05-28 19:15:47 +01:00
Rob Austin 2943d2ec6a added in a fix for net.openhft.chronicle.map.ReplicateProxyMapUpdatedViaSharedMemoryTest.testReplicateProxyMapUpdatedViaSharedMemory 2015-05-28 15:34:27 +01:00
Rob Austin 25e06bc318 CE-41 fixed binary wire test cases. 2015-05-26 18:27:13 +01:00
Rob Austin 40e7b1d53c HCOLL-325 Issue when bootstrapping with a large number of entries, and removed a few @Ignores on tests that should work. 2015-04-27 13:06:17 +01:00
Peter Lawrey 1e6ab61223 Update lang to 6.6.0 2015-02-26 17:00:20 +00:00
Rob Austin 915c81f0e7 propogating interupted exception, so that resources can be closed when it is received. 2015-02-02 22:46:47 +00:00
Rob Austin cca2cd77e0 removed unnessasary persistant file 2015-02-02 16:53:18 +00:00
Rob Austin de4c17e07e Please dont change this code back with out first running IN IDEA - at net.openhft.chronicle.map.ReplicatedChronicleMapTest.testPut1_NullPointerException(ReplicatedChronicleMapTest.java:489), see
java.lang.IllegalArgumentException: Argument for @NotNull parameter 'key' of net/openhft/chronicle/map/ReplicatedChronicleMap.put1 must not be null
	at net.openhft.chronicle.map.ReplicatedChronicleMap.put1(ReplicatedChronicleMap.java)
	at net.openhft.chronicle.map.VanillaChronicleMap.put(VanillaChronicleMap.java:532)
	at net.openhft.chronicle.map.ReplicatedChronicleMapTest.testPut1_NullPointerException(ReplicatedChronicleMapTest.java:489)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
	at org.junit.runners.Suite.runChild(Suite.java:127)
	at org.junit.runners.Suite.runChild(Suite.java:26)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
	at org.junit.runner.JUnitCore.run(JUnitCore.java:160)
	at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:67)
2015-02-02 11:40:38 +00:00
Rob Austin bec5b2a3c5 introduced NativeBytesI to allow us to checks if the buffer has been closed, if the buffer is accessed after it is closed an exception is thrown, This class should be used to investigate JVM crashes, it should not be used in production code ( as its slow ) 2015-02-01 22:19:41 +00:00
leventov 938b9dca7b Fixed usages of Bytes.write(Bytes) to conform old semantics 2015-02-01 19:49:58 +07:00
leventov 07333660d0 HCOLL-286 HCOLL-292 added replicationEvent flag to event callbacks 2015-01-28 11:44:20 +07:00
Rob Austin 58bf971aa2 HCOLL-291 Remove unnecessary entry size calculation in tcp replication 2015-01-12 10:38:23 +00:00
leventov 5558f4eec6 Fixed several bugs in contexts API implementation and in VanillaChronicleMap.putValue() 2015-01-03 03:18:57 +07:00
leventov cbb97077a2 Finally fixed HCOLL-244 bug 2014-12-30 11:19:03 +07:00
leventov e4a171ff23 HCOLL-244 fixed potential problems with chunks over-allocatation in Vanilla/Replicated ChronicleMaps 2014-12-30 11:18:28 +07:00
leventov dd969a495c HCOLL-244 Fixed a bug with pseudo-put or remotely replicated entry 2014-12-30 08:34:13 +07:00
leventov 4314db6c8a HCOLL-244 Fixed entrySize computation in ReplicatedChronicleMap 2014-12-30 05:05:50 +07:00
leventov bb61e5b424 Fixed a bug in Vanilla/ReplicatedChronicleMap.acquireWithoutLock() 2014-12-26 21:03:34 +07:00
leventov 81f6142af7 Clearly separated notion of entries and chunks, averageKeySize()/ValueSize() instead of keySize()/valueSize(), minor fixes and refactorings 2014-12-26 05:22:54 +07:00
leventov 4e6306101c HCOLL-203 fixed a bug -- MultiMap's search state was shared between non-exclusive read threads 2014-12-22 16:23:47 +07:00
Rob Austin a47f177710 HCOLL-197 - added better support for buffer resize to prevent issues around Integer.MAX_SIZE 2014-12-19 12:21:55 +00:00
leventov 9accabe11c Tiny optimizations in ReplicatedChronicleMap 2014-12-19 16:09:50 +07:00