Commit Graph
2936 Commits
Author SHA1 Message Date
leventov ac68523ef8 Make SegmentHeader stage to be always init before Locks stage, to avoid duplicate init of the latter 2016-01-10 20:01:13 +03:00
leventov bc309a5e79 Update third-party-bom to non-snapshot 2016-01-10 19:59:48 +03:00
leventov fe7c7787e8 Enlarge InterProcessLock.lock() timeout from 2 to 60 seconds, make lockInterruptibly() and tryLock(long, TimeUnit) actually interruptable 2016-01-09 19:08:18 +03:00
leventov 021d77e973 HCOLL-423 throw IllegalStateException if averageKeySize() or averageKey() is called when size is statically known 2016-01-09 19:08:17 +03:00
leventov 65afe387e3 Fix grammar and style of the spec 2016-01-09 19:08:16 +03:00
Team City abbd65fee7 [maven-release-plugin] prepare for next development iteration 2016-01-08 02:50:37 +00:00
Team City 223348c2e2 [maven-release-plugin] prepare release chronicle-map-3.4.0-beta chronicle-map-3.4.0-beta 2016-01-08 02:50:32 +00:00
leventov ce61bd1887 Use temporary file in Issue24ChronicleSetTest 2016-01-08 05:42:54 +03:00
leventov 9dc5c6c8d7 Update chronicle-bom 2016-01-07 06:24:57 +03:00
leventov 2e6626079c Ignore RecoverTest 2016-01-07 06:22:42 +03:00
leventov c7cab84be4 Add missing reset in SegmentsRecovery.zeroOutFirstSegmentTierCountersArea() 2016-01-06 04:07:47 +03:00
leventov eef772e39c Add ReplicateProxyMapUpdatedViaSharedMemoryTest back 2016-01-06 04:00:47 +03:00
leventov 34e942e0ff HCOLL-417 recognize modification iterators appearance cross-process 2016-01-06 03:57:30 +03:00
leventov 5191381fc5 Move reserved space for global mutable state between existing global mutable state and modification iteration bit sets of first tiers 2016-01-06 02:04:40 +03:00
leventov fd58414bfa Remove timeout for RecoverTest 2016-01-06 00:47:07 +03:00
leventov 6ee78ba926 HCOLL-378 #36 Fix bugs in recovery 2016-01-06 00:39:36 +03:00
leventov ebee1d36c3 Fix a heuristic in VanillaChronicleHash.computeNumberOfTiersInBulk() 2016-01-06 00:37:37 +03:00
leventov 97e4c12de1 HCOLL-378 #36 Add ChronicleHashBuilder.recoverPersistedTo() and ChronicleHashInstanceBuilder.recover() functionality 2016-01-04 23:24:39 +03:00
leventov b4c97ced36 Conditional update of ReplicatedGlobalMutableState.modificationIteratorInitAt 2016-01-03 04:01:17 +03:00
leventov 7847675f6f Synchronize ModificationIterator acquisition with globalMutableStateLock, add a bit set identifying already initialized modification bit sets, not to clear them twice in ModificationIterator constructor 2016-01-03 01:27:24 +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 6061d68f35 Make OldDeletedEntriesCleanupTest more elaborate 2016-01-01 23:00:30 +03:00
leventov 5287296fc7 Improve changes management in MapRemoteOperations and SetRemoteOperations 2016-01-01 21:22:44 +03:00
leventov e20ea011e3 Add ReplicableEntry.dropChangeFor(remoteIdentifier) 2016-01-01 21:21:34 +03:00
leventov d68f151b3a Should acquire updateLock, not readLock, before iterating each segment 2015-12-31 18:47:24 +03:00
leventov 04adb466a2 Add ReplicableEntry.raiseChangedFor(), raiseChangedForAllExcept(), improve MapRemoteOperations 2015-12-30 22:33:42 +03:00
leventov 2c1721e2e3 Do propagate accepted replication events, which originated from the node we are currently on, because it might be recovery 2015-12-30 21:15:59 +03:00
leventov b2cd5af700 Rework modification iteration and bootstrapping 2015-12-30 20:38:55 +03:00
leventov 19fadf5628 Remove stateless clients traces in TcpReplicator 2015-12-28 19:03:30 +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 123fb177c6 Make NanosecondPrecisionSystemTimeProvider monotonic 2015-12-27 01:53:57 +03:00
leventov 2928d18d11 Fix the prev commit 02b2c90 for ChronicleSet 2015-12-26 22:27:35 +03:00
leventov 02b2c90ad0 Cover the last corner case in DefaultEventualConsistencyStrategy 2015-12-26 22:17:27 +03:00
leventov c15c568473 Remove Replica.EntryCallback.onBeforeEntry() and Replica.EntryCallback.onAfterEntry() methods as unused 2015-12-26 18:27:50 +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 d41f9a106c Update chronicle-bom dependency 2015-12-24 18:45:27 +03:00
leventov d060fd0c2d HCOLL-412 fix a bug in HashLookupSearch.putNewVolatile() 2015-12-24 18:31:32 +03:00
leventov b4688e012d Test fixes 2015-12-23 18:56:55 +03:00
leventov 263e366ee8 Update delayed check sum on WriteLock.unlock(), and close stages only if unlocking actually done 2015-12-23 18:37:14 +03:00
leventov 9ff159987e Release writeLock after visiting each entry in HashSegmentIteration.forEachTierEntryWhile() 2015-12-23 16:30:20 +03:00
leventov 246eec8b77 Fix a bug in SegmentStages.unlinkFromSegmentContextsChain() -- didn't account for exceptional exit from nested context 2015-12-23 16:29:08 +03:00
leventov c448293788 Fix a bug -- drop changes in doRemoveCompetely() 2015-12-23 16:26:28 +03:00
leventov defaa6e7db More clarity with rounding and double -> long conversions in ChronicleMapBuilder 2015-12-22 17:23:32 +03:00
leventov 832ab5c5da Fix CMUseCasesTest.testMapStringIntegerValueWithoutListMarshallers() 2015-12-22 17:22:42 +03:00
leventov 7154278bb1 Don't account segment filling variance, if there is only one segment 2015-12-21 17:19:39 +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