Commit Graph
141 Commits
Author SHA1 Message Date
Rob Austin c7a171da05 taken out this code as it was causing isssue for OZAN when re starting an exisign code that had gone down in the cluser, as the old logic was preventing the data that originted from it flowing back in. 2016-01-21 14:33:11 +00:00
Peter Lawrey 7950e358f8 Don't send values if they are not used. 2016-01-06 13:13:00 +00:00
Peter Lawrey ab12d46956 reduce white space lines 2016-01-01 09:29:06 +00:00
Peter Lawrey e0cb22f22b cluster tuning 2016-01-01 09:04:31 +00:00
Rob Austin fc685a68c9 bug fixes to chronicle-engine 2015-12-22 16:53:16 +00:00
Rob Austin be0cb6f578 enhancements to chronicle-engine 2015-12-21 20:13:37 +00:00
Rob Austin 2938a4e92b fixed issued where modificaiton iterator was not changing. - > see addion of segmentState.pos = pos; 2015-12-21 17:14:38 +00:00
peter lawrey 1186760afb Reduce logging. 2015-12-17 13:33:44 -06:00
Peter Lawrey a07fd3ba3d Ensure there is capacity in the hash table before attempting to add an entry. 2015-12-17 12:13:49 -06:00
Rob Austin e5633a04ca enhancements made with peter 2015-12-16 22:52:03 +00:00
leventov 0d716996ea Safer unlocking on eventListener calls 2015-12-16 17:33:20 +03:00
Rob Austin 5ad1c9e620 removed the writeLock with eventlisteners are called 2015-12-16 08:22:05 +00:00
leventov e928cbfe90 Fix a bug in VanillaChronicleMap.putValue() -- avoid allocation of overlapping areas 2015-12-14 16:14:29 +03:00
Rob Austin 1c772eea22 Merge remote-tracking branch 'origin/2.1' into 2.1
Conflicts:
	src/main/java/net/openhft/chronicle/map/ReplicatedChronicleMap.java
	src/main/java/net/openhft/chronicle/map/VanillaChronicleMap.java
2015-12-14 11:21:53 +00:00
Rob Austin d1513a4ba9 added further fields to ByteEventListener such as byte replacedIdentifier, long timeStamp, long replacedTimeStamp 2015-12-14 11:17:37 +00:00
leventov e2ba8b3f5a HCOLL-410 2015-12-14 13:54:04 +03:00
Rob Austin 81b2079b74 addded size back in 2015-12-13 21:30:39 +00:00
Rob Austin d713589bd2 added hasValueChanged to ByteMapEventListener 2015-12-13 21:29:55 +00:00
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