Commit Graph
836 Commits
Author SHA1 Message Date
Rob Austin bc2aaf0854 possible fix to race codition reported by Ozan 2016-01-14 15:22:50 +00:00
Peter Lawrey 7950e358f8 Don't send values if they are not used. 2016-01-06 13:13:00 +00:00
Peter Lawrey 558c2ec7f4 Add logging to trap when a lock is being held. 2016-01-02 12:27:52 +00:00
Peter Lawrey 22b8a6b5fb Rearrange and reformat code. 2016-01-01 09:34:41 +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
leventov a13c1e57e0 Bug fix 2015-12-23 18:12:47 +03: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
Rob Austin c06a9e5838 minor fixes 2015-12-20 19:43:56 +00:00
Rob Austin c14e7c0614 removed unwanted logging 2015-12-20 12:04:33 +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 bd64095042 reverted back to using write locks as read locks 2015-12-17 06:13:28 +00: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 732e0f06c7 Fixed a bug in putValue(), added in commit 5eda4c44b3 2015-12-14 18:17:40 +03:00
leventov e928cbfe90 Fix a bug in VanillaChronicleMap.putValue() -- avoid allocation of overlapping areas 2015-12-14 16:14:29 +03:00
Rob Austin dbed8e7d73 fixed merge issues 2015-12-14 11:27:45 +00:00
Rob Austin 58c8d94f11 remvoed boolean hasValueChanged = false; 2015-12-14 11:24:45 +00: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 d0dc667717 Improve startsWith() implementations 2015-12-14 13:56:55 +03: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
Rob Austin d496cf30fe fixed some minor bugs with chronicle-map around the update to an entry 2015-12-13 16:54:35 +00:00
Rob Austin 14e57121c3 Merge remote-tracking branch 'origin/2.1' into 2.1
Conflicts:
	src/main/java/net/openhft/chronicle/map/VanillaChronicleMap.java
2015-12-13 16:49:21 +00:00
Rob Austin ca05142928 fixed some minor bugs with chronicle-engine 2015-12-13 16:43:41 +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 37ba02935f added javadoc to the event listener 2015-12-11 22:45:39 +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 64aaa6c54e added missing
final InetSocketAddress serverInetSocketAddress =
                new InetSocketAddress(replicationConfig.serverPort());
        final Details serverDetails = new Details(serverInetSocketAddress, localIdentifier);

        attached.connector = new ServerConnector(serverDetails);
2015-12-04 10:22:10 +00:00
leventov 5da0e4041b Remove buggy optimization #58 2015-11-17 14:57:25 +03:00
Rob Austin 1f219376ed removed unwanted NPE catch 2015-10-23 13:35:36 +01:00
Rob Austin a2e4320923 removed assignment at definition 2015-10-23 13:27:33 +01:00
Rob Austin 0d4f3c2aef added missing fields to init transients 2015-10-23 12:38:24 +01: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
leventov fb1a54f266 Allow ReplicatedChronicleMap to be accessed without configuring replicators 2015-10-22 00:28:15 +03: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
leventov 253de0f870 Fix a bug in ChannelProvider.ChronicleChannel.close(), props to @maxime-leur #51 2015-10-13 14:44:31 +03: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 69e38fc52c Fix a bug in TcpReplicator -- didn't schedule to connect to an endpoint later, when channel.socket().setTcpNoDelay(true) throws an exception 2015-10-09 15:15:35 +03:00
leventov 3c296823e6 Fix ModificationIterator.hasNext() condition 2015-09-16 19:26:20 +03:00
Rob Austin 2519b3619e corrected - if (attached.isServer && attached.isHandShakingComplete()) 2015-09-15 21:39:58 +01:00
Rob Austin f094733294 corrected - if (attached.isServer && attached.isHandShakingComplete()) 2015-09-15 19:46:34 +01:00
Rob Austin 522f0503b3 corrected if (!attached.isServer || !attached.isHandShakingComplete())
return;
2015-09-15 19:44:24 +01:00