Commit Graph
894 Commits
Author SHA1 Message Date
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 36ac265115 HCOLL-403 added Ozan's test case 2015-12-03 04:36:14 +03:00
leventov 5cca6cb3a4 Add a test from issue #61 2015-12-02 21:37:08 +03:00
leventov d4c01b3b64 Reduce visibility of ChannelProvider and OldDeletedEntriesCleanup classes, make AcceptanceDecision enum nested in DefaultEventualConsistencyStrategy, minor Javadoc fixes 2015-11-30 00:34:29 +03:00
leventov a0c982374d Fix a bug in HashSegmentIteration.forEachTierWhile() 2015-11-29 01:52:57 +03:00
leventov 2d7e25985a Replace CityHash 1.1 with xxHash as the default hash function 2015-11-28 23:31:25 +03:00
leventov bfa9988551 Add ChronicleSetBuilder.entryOperations() and .remoteOperations() interception configuration methods; Rename SetRemoteOperations.insert() to put(), for consistency with MapRemoteOperations 2015-11-28 23:20:29 +03:00
leventov ec3bd9447e #60 add a test 2015-11-27 19:02:19 +03:00
leventov fe77012381 Read/Write ChronicleMap's boostrapping header with Wire 2015-11-25 20:37:19 +03:00
leventov 114d2840f1 Remove newKeyInstance() and newValueInstance() as more confusing than helpful 2015-11-25 01:03:07 +03:00
leventov 582560ed15 Make ChronicleMapBuilder.entries() config obligatory for in-memory Maps and persistence-creating Maps 2015-11-24 23:50:41 +03:00
leventov 0398f7dfbf HCOLL-406 #58 Don't check size configurations of ChronicleMapBuilder, if existing file is accessed 2015-11-24 15:42:51 +03:00
leventov 61254caf8f Inner classes couldn't extend marshallers because cannot be Serializable 2015-11-23 19:08:36 +03:00
leventov f575218da9 Extend persistence file on mapping 2015-11-23 17:42:36 +03:00
leventov ade2196e72 Java-Lang -> Chronicle-Bytes, Chronicle-Values 2015-11-22 22:10:39 +03:00
leventov 6b7eb99144 Remove buggy optimization in DirectBytesBuffer #58 2015-11-17 15:00:01 +03:00
leventov 01ac66a830 Replace net.openhft.chronicle.hash.function.SerializableFunction usages with the same interface from Chronicle-Core, and delete net.openhft.chronicle.hash.function package 2015-10-22 16:44:05 +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 a13bf449d0 Make value and value size configuration obligatory in ChronicleMapBuilder 2015-10-14 17:47:22 +03:00
leventov cad3d3abfe HCOLL-400 forbid nested update and write locks inside iteration contexts; rename IterationContextInterface to IterationContext; update stage-compiler dependency 2015-10-09 15:09:32 +03:00
leventov 81535163b2 Make IterationContexts' hashLookupPos depend on segmentTier as well as QueryContexts'; add missed hashLookupPos step back in iteration, if hash lookup slot is removed, because entry is relocated to a chained tier; add missed tierIndex initialization in initSegmentTier_WithBaseAddr() 2015-10-07 16:43:37 +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 7460074ac5 Moved testFloodReplicatedMapWithDeletedEntries() test to a separate class from TcpReplicationSoakTest because they require different old deleted entries cleanup timeout configurations 2015-10-03 05:06:39 +03:00
leventov 05f94965be Refactor TimeProvider 2015-10-02 13:09:15 +03:00
leventov 0a5bc1e50c Fix same-key check in linkToSegmentContextsChain() 2015-09-29 00:42:20 +03:00
leventov 440b075f9d Remove ChronicleMap.putMapped() as a duplicate of computeIfPresent(); Reduce the number of ignored tests 2015-09-27 15:41:07 +03:00
leventov 22b964e069 HCOLL-392 Add entry checksums 2015-09-26 23:34:44 +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 5a54f6a194 Remove stateless client 2015-09-25 20:39:39 +03:00
leventov d9c771bedc Make key/value size discovery more defensive, inspired by #43 2015-09-21 19:08:45 +03:00
leventov 3370aa7dba Add ChronicleHashBuilder.allowSegmentTiering() config for regressions and EntryCountMapTest 2015-09-18 18:14:40 +03:00
leventov 19519c347a #43 add test 2015-09-18 15:36:46 +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 23d94257e1 HCOLL-384 add a test for issue #37 2015-09-10 17:00:38 +03:00
leventov 88843fae92 HCOLL-343 add an option not to erase old removed entries from ReplicatedChronicleMap 2015-08-27 00:01:46 +03:00
leventov 904ecca036 HCOLL-343 HCOLL-227 Remove old entries from ReplicatedChronicleMap 2015-08-23 00:01:44 +03:00
leventov 8faae76b0a Changed ports in TestReplication 2015-08-06 04:05:59 +03:00
leventov b5cf817b2a Zero out contents of a newly-created persisted ChronicleHash 2015-08-06 03:46:54 +03:00
leventov 22df53afb9 Try un-@Ignore some tests 2015-08-02 01:31:09 +03:00
leventov 0811f98e4c Fix a bug in source code & spec -- entry relocation on put() should acquire write lock 2015-08-02 00:23:39 +03:00
leventov a0eb9a2f98 Fixed a bug in MapEntryStages.putValueDeletedEntry() -- the slot in hashLookup is empty, should be filled, not just the value updated 2015-07-30 03:38:00 +03:00
leventov cf583d4510 Removed unused duplicating HashLookup class and package 2015-07-30 02:44:11 +03:00
leventov e39dfc394c Add ChronicleHashBuilder.averageKey() and ChronicleMapBuilder.averageValue() methods 2015-07-29 01:21:21 +03:00
leventov a3c9ed688c Update Javadocs - insert missing <p>In the beginnings of the paragraphs 2015-07-28 23:57:42 +03:00
leventov c58ca37d07 Returned previously removed @Ignore 2015-07-28 19:29:26 +03:00
leventov dc8b70c124 Improved reclamation in TestReplication class in attempt to overcome test inference issues on TC 2015-07-28 19:14:21 +03:00
leventov b88c821ea5 HCOLL-369 various fixes 2015-07-25 23:54:17 +03:00