Faisal Hameed
|
06e3522d4a
|
Fixing squid:S1596,squid:LowerCaseLongSuffixCheck
|
2016-02-12 09:45:35 +05:00 |
|
leventov
|
6b030ab44e
|
Refactor VanillaChronicleHash.allocateTier() method
|
2016-02-10 22:59:38 +07:00 |
|
leventov
|
d7ed5b0153
|
Simplify parameter flow on VanillaChronicleHash initialization
|
2016-02-09 15:03:34 +07:00 |
|
leventov
|
e2ec9db371
|
Register Chronicle Map's randomAccessFile cleaner only after all creation/recovery procedures complete, to avoid double release
|
2016-02-09 14:57:44 +07:00 |
|
leventov
|
001b710084
|
Raise IOException or ChronicleHashRecoveryFailed exception instead of generic RuntimeException in VanillaChronileHash.initBeforeMapping() method
|
2016-02-09 14:46:18 +07:00 |
|
leventov
|
00819bff66
|
Use canonical RandomAccessFiles (=> FileChannels, too) to guarantee fileLocks are not released during critical operation, because some concurrent thread closes fileChannel on different instance of a map
|
2016-02-07 19:59:47 +07:00 |
|
leventov
|
e760af06d5
|
Make recovery procedure to be able to recovery Chronicle Map files with readiness bit not reached the disk
|
2016-02-05 19:55:10 +07:00 |
|
leventov
|
7b9ccac147
|
Align persisted Chronicle Map creation with Size Prefixed Blob and Self-Bootstrapping Header specifications
|
2016-02-05 16:46:12 +07:00 |
|
leventov
|
01f15fb9b1
|
Fix msync JNA implementations and add SimplePersistedMapOverflowTest
|
2016-02-05 16:35:46 +07:00 |
|
leventov
|
299cd8341c
|
HCOLL-397 msync before pointing to newly created tier bulk in the header
|
2016-01-31 21:16:42 +07:00 |
|
leventov
|
8891626bb2
|
Don't force writing the memory to disk in VanillaChronicleHash.close(), release the virtual memory instead
|
2016-01-31 19:10:18 +07:00 |
|
leventov
|
0d93fb1d22
|
Rename VanillaChronicleHash.tierHashLookupEntrySize field to tierHashLookupSlotSize, update the memory layout specification, and key hashing and checksum algorithms specification
|
2016-01-30 19:20:50 +07:00 |
|
leventov
|
040a8d69b6
|
Simplify entry checksum computation for not replicated ChronicleSet
|
2016-01-30 17:10:33 +07:00 |
|
leventov
|
69337322ee
|
Simplify VanillaChronicleHash.roundUpMapHeaderSize() because rational behind former complexity (considering buffering in Map header serializer) is 1) gone (because BinaryWire is used instead of built-in serialization 2) was incorrect anyway, because rounding up doesn't prevent problems with buffering
|
2016-01-21 15:13:29 +03:00 |
|
leventov
|
0ee9b64978
|
Rename VanillaChronicleHash.segmentSize() to tierSize()
|
2016-01-20 21:56:36 +03:00 |
|
leventov
|
72ba0e4d57
|
Move HashSplitting.Splitting.forSegments() method to HashSplitting interface, because interfaces could contain static methods since Java 8
|
2016-01-19 18:36:28 +03:00 |
|
leventov
|
b06c64a47c
|
Don't serialize HashSplitting$ForPowerOf2Segments.mask field
|
2016-01-19 18:34:09 +03:00 |
|
leventov
|
bb22985d9c
|
Remove entriesPerSegment field from VanillaChronicleHash
|
2016-01-19 14:17:38 +03:00 |
|
leventov
|
8055a8b1ae
|
Make private BigSegmentHeader's methods static
|
2016-01-18 17:39:55 +03:00 |
|
leventov
|
0ead764edf
|
BigSegmentHeader: try deregister wait on try-upgrade-update-to-write procedure, if it sees unexpected state (update lock is not held)
|
2016-01-18 17:34:14 +03:00 |
|
leventov
|
7e32081111
|
Add missing firstFreeTierIndex reset in globalMutableState, in SegmentsRecovery
|
2016-01-17 17:44:23 +03:00 |
|
leventov
|
56e5e93388
|
Hide the remaining parts of the replication API from the public eye
|
2016-01-17 17:08:13 +03:00 |
|
leventov
|
dd4c2f67d8
|
Remove replication frontend implementation in favor of Chronicle Engine
|
2016-01-15 22:19:52 +03:00 |
|
leventov
|
28eeeb70e7
|
Remove the complexity and API-transparency of implementing and supporting built-in serializability for marshallers and core implementation classes, as this is replaced with Wire Marshallable
|
2016-01-14 16:07:22 +03:00 |
|
leventov
|
511fc7729d
|
Fix a bug in SegmentsRecovery
|
2016-01-12 11:53:36 +03:00 |
|
leventov
|
262ad51a4b
|
Fix bugs in recovery
|
2016-01-11 19:13:50 +03:00 |
|
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
|
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
|
65afe387e3
|
Fix grammar and style of the spec
|
2016-01-09 19:08:16 +03:00 |
|
leventov
|
c7cab84be4
|
Add missing reset in SegmentsRecovery.zeroOutFirstSegmentTierCountersArea()
|
2016-01-06 04:07:47 +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
|
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
|
d060fd0c2d
|
HCOLL-412 fix a bug in HashLookupSearch.putNewVolatile()
|
2015-12-24 18:31:32 +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
|
3773b3d60a
|
Add methods for Engine support
|
2015-12-18 03:00:38 +03:00 |
|
leventov
|
27c8148007
|
Fix the prev commit e78e070
|
2015-12-17 18:16:51 +03:00 |
|
leventov
|
a11f79f798
|
Remove map persistence file locking, as unnecessary
|
2015-12-14 18:49:47 +03:00 |
|
leventov
|
4907af142b
|
Prefix Read/Update/WriteLock methods with checkOnEachLockOperation()
|
2015-12-11 18:50:01 +03:00 |
|
leventov
|
7a5c799a28
|
Remove throws IORuntimeException everywhere as redundant and deprecated
|
2015-12-11 16:23:45 +03:00 |
|
leventov
|
c79b078c36
|
Apply timed tryLock() heuristic from commit 6c56813b5e to tryWriteLock() and tryUpgradeUpdateToWriteLock(), was used only in tryReadLock() and tryUpdateLock()
|
2015-12-10 17:43:50 +03:00 |
|
leventov
|
9390aa87a5
|
Replace RWU lock implementation in BigSegmentHeader with identical from VanillaReadWriteUpdateWithWaitsLockingStrategy (DRY), remove IllegalInterProcessLockStateException in favor of java.lang.IllegalMonitorStateException
|
2015-12-10 17:43:47 +03:00 |
|
leventov
|
8abe53912a
|
Make max hashLookup load factor (for tiering) greater than max 'normal'
load factor (0.66), to avoid tiering due to natural variance in segment
load. Account non-tiered segments percentile
|
2015-12-10 17:43:47 +03:00 |
|
leventov
|
b711ca8d96
|
Remove unused and incomplete support of keeping exclusive lock holder thread id in segment header
|
2015-12-09 08:24:02 +03:00 |
|