Commit Graph
90 Commits
Author SHA1 Message Date
leventov 223b2d4329 Prevent leaks of ChronicleMaps though thread local contexts and supplimental OldDeletedEntriesCleanupThread, add MemoryLeakTest 2016-10-01 20:33:16 +03:00
Peter Lawrey 0fb4eeefdc Update Chronicle Map to using bom 1.13.12 2016-07-31 17:00:08 +01:00
leventov 4bcdcdb8ce Update license information 2016-07-22 15:05:04 +07:00
leventov 7ada09a8dc Make VanillaChronicleHash.close() to wait until concurrent threads accessing the hash finish their work and don't permit new threads to come while close() is in progress and after that 2016-07-17 23:25:49 +07:00
leventov b3c1f7b1e2 Expose Thread owner() in ChainingInterface 2016-07-17 23:25:46 +07:00
Peter Lawrey a230c08e89 Cut blank lines 2016-07-07 20:33:40 +01:00
Peter Lawrey 35c721419c Fix a couple of API changes. 2016-04-17 19:36:06 +01:00
leventov da48414126 Optimize SizedMarshallableDataAccess to avoid double data copy when writing values 2016-03-05 17:32:07 +07:00
leventov e37de00202 Reduce write lock scope as much as possible in relocation and remove operations 2016-02-26 20:55:47 +07:00
leventov 1a275288b5 Removed excessive code from ReplicatedMapAbsent.doInsert() method 2016-02-24 16:43:14 +07:00
leventov 820573a684 Add method CompactOffHeapLinearHashTable.readEntryVolatile() method and use it during key search 2016-02-20 16:38:59 +07:00
leventov 4b58d21953 Refactor MapQuery.putPrefix() method 2016-02-17 17:14:39 +07:00
leventov 7293e5d7bb Remove REMOVED query state to reduce complexity 2016-02-16 20:40:47 +07:00
leventov e5c37a1e8f Update dependencies 2016-02-13 21:22:14 +07:00
leventov f8776281e7 Make comment attribution more clear 2016-02-13 17:59:33 +07:00
Faisal Hameed efd3e1f05a Fixing squid:S1066- Collapsible "if" statements should be merged. 2016-02-12 10:12:13 +05:00
leventov 6ee78ba926 HCOLL-378 #36 Fix bugs in recovery 2016-01-06 00:39:36 +03:00
leventov 97e4c12de1 HCOLL-378 #36 Add ChronicleHashBuilder.recoverPersistedTo() and ChronicleHashInstanceBuilder.recover() functionality 2016-01-04 23:24:39 +03:00
leventov 9b782c4ec2 Remove prevEntry parameter from CompactOffHeapLinearHashTable.clearEntry(), writeEntry() and writeEntryVolatile() methods, as unneeded 2016-01-02 16:12:01 +03:00
leventov e20ea011e3 Add ReplicableEntry.dropChangeFor(remoteIdentifier) 2016-01-01 21:21:34 +03:00
leventov 04adb466a2 Add ReplicableEntry.raiseChangedFor(), raiseChangedForAllExcept(), improve MapRemoteOperations 2015-12-30 22:33:42 +03:00
leventov b2cd5af700 Rework modification iteration and bootstrapping 2015-12-30 20:38:55 +03:00
leventov 1221f11097 Make TimeProvider non-extensible and non-configurable; Fix a bug in
ReplicatedQueryAlloc.CleanupAction
2015-12-27 21:32:26 +03:00
leventov 2928d18d11 Fix the prev commit 02b2c90 for ChronicleSet 2015-12-26 22:27:35 +03:00
leventov 1743f1c694 Replication updates with local identifier shouldn't use the same timestamp, because this allows two different updates which replace each other on different nodes, and don't converge. Extend default TimeProvider precision to nanoseconds, to exclude possibility of 'microsecond overflow' on frequent changes to the same entry 2015-12-26 17:28:35 +03:00
leventov 0ead52335b Don't force cleanup deleted entries on alloc, if it is disabled in this ReplicatedChronicleMap 2015-12-25 20:39:43 +03:00
leventov d060fd0c2d HCOLL-412 fix a bug in HashLookupSearch.putNewVolatile() 2015-12-24 18:31:32 +03:00
leventov c448293788 Fix a bug -- drop changes in doRemoveCompetely() 2015-12-23 16:26:28 +03:00
leventov 60de795949 updateChange() should always be called after replicationStateUpdate(), because updateChange() uses the new timestamp 2015-12-20 18:33:47 +03:00
leventov dd4fa03bfe Fix wrong decrements of tierDeleted (after innerDefaultReplaceValue(), when should be before), because relocation could trigger tier change inside innerDefaultReplaceValue() 2015-12-20 18:32:53 +03:00
leventov de8e27464c Reuse code between internal and 'API' replication: remove ReplicatedInputKeyBytesData and ReplicatedInputValueBytesData 2015-12-20 16:33:28 +03:00
leventov c59b801795 Consistent 'id, timestamp' order of paramters in methods, fix bugs in ReplicatedInput.remotePut() and remoteRemove() 2015-12-19 18:03:14 +03:00
leventov 3773b3d60a Add methods for Engine support 2015-12-18 03:00:38 +03:00
leventov 491ab42843 Remove duplicate alignReadPosition() in MapEntryStages.initValueSize() 2015-12-17 21:26:37 +03:00
leventov 268ba7f569 Reorder fields in replication message, to avoid writing value size, when deleted event is sent 2015-12-17 21:25:47 +03:00
leventov 27c8148007 Fix the prev commit e78e070 2015-12-17 18:16:51 +03:00
leventov 229aeb5fdf Minor improvements related to VanillaChronicleMap.alignAddr() 2015-12-12 18:00:10 +03:00
leventov 7a5c799a28 Remove throws IORuntimeException everywhere as redundant and deprecated 2015-12-11 16:23:45 +03:00
leventov ce45903af7 Make entries and deleted counters per-tier 2015-12-07 11:43:37 +03:00
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
leventov 82988e7435 Replace outdated (pre-tiers) implementation of ReplicatedMapSegmentIteration.forEachSegmentReplicableEntryWhile() by shared code with HashSegmentIteration.forEachSegmentEntryWhile() 2015-12-06 15:19:49 +03:00
leventov d5ee1f9aae Make checksum computation delayed, on lock release 2015-12-05 05:37:17 +03:00
Rob Austin b7f815976c 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-12-03 04:43:28 +03:00
leventov aad6c115c2 Replace Crc32 checksum computation with xxHash, because it is faster according to https://github.com/benalexau/hash-bench 2015-11-30 00:34:22 +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 12989df576 Remove potentially dangerous freeList bits clearing before allocation of a new block, on relocation, because overlapping range copy is platform dependent 2015-11-25 22:29:55 +03:00
leventov fe77012381 Read/Write ChronicleMap's boostrapping header with Wire 2015-11-25 20:37:19 +03:00
leventov d5fe21a290 Fix a bug -- incorrect entry size computation in replace(), checksum bytes forgotten 2015-11-24 23:44:51 +03:00
leventov ade2196e72 Java-Lang -> Chronicle-Bytes, Chronicle-Values 2015-11-22 22:10:39 +03:00
leventov c5e505525d Fix a possible bug in ReplicatedMapAbsent.doInsert() 2015-11-01 13:58:55 +03:00