Commit Graph
136 Commits
Author SHA1 Message Date
leventov 2f58bfb399 Replace nextPosToSearchFrom with lowestPossiblyFreeChunk semantically, that allows to avoid searching free chunks though a full tier, when segment is tiered, again and again. Also, make chunk block reallocation in innerDefaultReplaceValue() and putValueDeletedEntry() check it doesn't overflow actualChunksPerSegmentTier 2015-12-07 07:20:47 +03:00
rob c9365e5238 HCOLL-403 removed another filter that was preventing all the message to be sent ( from all the nodes on bootstrap ) 2015-12-03 04:38:43 +03:00
Rob Austin b1ed4861c3 HCOLL-403 When the following setting is set on chronicle map "bootstrapOnlyLocalEntries==false", it is not sending all the entries. 2015-12-03 04:33:45 +03:00
leventov fe77012381 Read/Write ChronicleMap's boostrapping header with Wire 2015-11-25 20:37:19 +03:00
leventov ade2196e72 Java-Lang -> Chronicle-Bytes, Chronicle-Values 2015-11-22 22:10:39 +03:00
leventov 2111d1865c Make all ReplicatedChronicleMap fields transient 2015-10-22 04:28:52 +03:00
leventov 07b75d8b8a Allow ReplicatedChronicleMap to be accessed without configuring replicators 2015-10-22 00:19:59 +03:00
leventov 7c4b0ed10b Remove tier bulk alignment (as actually not needed) 2015-10-11 17:04:20 +03:00
leventov e1df6dc68f 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:11:08 +03:00
leventov 70fb0dd2fa Refactor: move initUsed(true) inside ChainingInterface.getContext() 2015-10-06 18:59:54 +03:00
leventov 21d5342048 Optimize memory in non-persisted case -- don't zero out all memory eagery; remove global mutable state duplication code in VanillaChronicleHash and ReplicatedChronicleMap; make sleep interruptible in OldEntriesCleanup thread; remove old entries cleanup duplicatation tracking; fix bugs 2015-10-04 07:57:12 +03:00
leventov 901ce5b55c Fix a bug: tierIndexOffsetWithinBulk extracted from position in tier bulk changes bitset was used as tierIndexMinusOne; refactorings 2015-10-03 05:14:38 +03:00
leventov 71599fd4eb Proper zeroing-out mapped bytes (that could potentially be dirty), and only the bytes that are required to be zero by tier state invariants; refactorings and renamings 2015-10-03 01:38:35 +03:00
leventov 05f94965be Refactor TimeProvider 2015-10-02 13:09:15 +03:00
leventov 14373cc129 Rename ownInitTransients() -> initOwnTransients() 2015-10-02 02:07:38 +03:00
leventov c88340f842 Fix several bugs 2015-09-28 22:13:03 +03:00
leventov 01d24b0ee0 As ChronicleMapBuilder always cloned before Map creation, make 'replicated' an 'instance' field instead of a parameter of almost all methods 2015-09-26 22:04:28 +03:00
leventov 4c75dfd937 Remove unused type parameter in ReplicatedMapEntryStages class 2015-09-26 22:04:10 +03:00
leventov 50662c521b HCOLL-360 Small fixes 2015-09-17 23:37:40 +03:00
leventov 2eed65e80e HCOLL-360 Add segment tiers 2015-09-17 20:58:52 +03:00
leventov 4606b64a02 Update stage-compiler version removing limitation that stage names shouldn't be prefixes of each other 2015-09-12 21:29:49 +03:00
leventov 904ecca036 HCOLL-343 HCOLL-227 Remove old entries from ReplicatedChronicleMap 2015-08-23 00:01:44 +03:00
leventov b5cf817b2a Zero out contents of a newly-created persisted ChronicleHash 2015-08-06 03:46:54 +03:00
leventov b88c821ea5 HCOLL-369 various fixes 2015-07-25 23:54:17 +03:00
leventov e7a8a11505 OHFT-58 Change license to LGPLv3 to protect redistribution 2015-07-25 23:12:23 +03:00
Rob Austin fcd872c643 HCOLL-329 fixing the bootstrapping timestamp issue
Conflicts:
	src/main/java/net/openhft/chronicle/map/ChannelProvider.java
	src/main/java/net/openhft/chronicle/map/Replica.java
	src/main/java/net/openhft/chronicle/map/ReplicatedChronicleMap.java
	src/main/java/net/openhft/chronicle/map/SharedSegment.java
	src/main/java/net/openhft/chronicle/map/TcpReplicator.java
	src/main/java/net/openhft/chronicle/map/VanillaChronicleMap.java
2015-07-25 22:33:24 +03:00
leventov da06ba106e added a Null check for - modificationNotifier != null 2015-07-25 19:19:38 +03:00
Rob Austin e3fc5c9aa8 added in a fix for net.openhft.chronicle.map.ReplicateProxyMapUpdatedViaSharedMemoryTest.testReplicateProxyMapUpdatedViaSharedMemory
Conflicts:
	src/main/java/net/openhft/chronicle/map/ChannelProvider.java
	src/main/java/net/openhft/chronicle/map/Replica.java
	src/main/java/net/openhft/chronicle/map/ReplicatedChronicleMap.java
2015-07-25 19:00:44 +03:00
leventov 9fe1dab477 HCOLL-352 Changed garbage-free Chronicle-Map iterations API from old to new Contexts; Add SegmentContexts API 2015-07-24 20:11:58 +03:00
leventov fb5f3cf2e1 HCOLL-349 HCOLL-350 stage compilation via annotation processing 2015-07-17 04:25:33 +03:00
leventov 1d7f54635a HCOLL-318 added many documentation and examples; Empowerted ReplicableEntry interface, and changed Map/SetRemoteOperations contracts to allow implementing more agile reconciliation strategies 2015-06-20 05:43:34 +03:00
leventov 9746084998 Start setting lastModifiedTime and fixed bootstrapping; clarified some test @Ignores 2015-06-16 16:22:32 +03:00
leventov 0c73a072eb Fix compilation issues 2015-06-15 22:00:06 +03:00
leventov 413f016898 Merge branch 'listeners' of https://github.com/OpenHFT/Chronicle-Map into listeners
Conflicts:
	src/main/java/net/openhft/chronicle/map/FilePerKeyChronicleMap.java
	src/main/java/net/openhft/chronicle/map/impl/CompiledReplicatedMapQueryContext.java
2015-06-15 21:40:55 +03:00
leventov bf20bc98c3 Fixed several replication bugs; Value -> Data; extracted ReplicableEntry as a superclass of HashReplicableEntry 2015-06-15 21:34:45 +03:00
danielshaya 4540513766 Commented out line to make it compile. 2015-06-03 13:06:04 +01:00
leventov f1da352a5d Made listeners almost work for replication 2015-06-02 19:02:55 +01:00
leventov b4c8554b77 SPI implementation 2015-05-27 00:03:20 +01:00
Rob Austin 6a427e4b83 added dircet support for string string maps in engine and removed the final from RepicatedChronicleMap as it prevents Mocking in Mockito 2015-05-14 16:55:54 +01:00
Rob Austin b7e500382d HCOLL-325 Issue when bootstrapping with a large number of entries, and removed a few @Ignores on tests that should work. 2015-04-27 14:50:28 +01:00
leventov 0a2726ac4a Local updates couldn't be late 2015-02-19 19:42:25 +07:00
leventov 16f85e4c5e First step in separation of core ChronicleHash functionality from Map and Set; Start Java 8 adoption; Bug fixes 2015-02-12 15:24:24 +07:00
leventov 2b8d58466c Fixed a bug in ReplicatedChronicleMap -- forgot to drop relocated entry
mod iter bits
2015-02-09 06:25:36 +07:00
leventov 289179a08d Defensive checks in SizeMarshallers and possible bugs with marshalling 0, however it could be not supported 2015-02-09 06:24:26 +07:00
leventov b395770956 Updated Java-Lang version 2015-01-28 14:26:35 +07:00
leventov 68697831b8 Moved to CityHash (proven to be faster); Made Hashing and BytesInterop API more cohrent; removed Void marshalling because values should never be null 2015-01-26 13:21:27 +07:00
leventov 59b357014d Made VanillaContext more defensive and error checking 2015-01-24 13:48:40 +07:00
leventov f53a93275c Late updates to ReplicatedChronicleMap throw LateUpdateException 2015-01-19 22:10:29 +07:00
leventov 748022eefc Fixed bug in ReplicatedChronicleMap 2015-01-19 18:23:38 +07:00
leventov ffb239fc94 Fixed some bugs in VanillaChronicleMap & ReplicatedChronicleMap 2015-01-19 07:10:50 +07:00