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
8a0dea9f05
Javadoc fixes in MapMethods
2015-12-18 16:06:05 +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
f0bcd784b7
Remove EntryCallback.shouldBeIgnored()
2015-12-17 21:25:09 +03:00
leventov
a1954f220d
Remove EntryExternalizable.sizeOfEntry()
2015-12-17 20:01:24 +03:00
leventov
e259be092a
Remove unspecified API use in ReplicatedChronicleMap.writeExternalEntry()
2015-12-17 18:56:55 +03:00
leventov
27c8148007
Fix the prev commit e78e070
2015-12-17 18:16:51 +03:00
leventov
e78e070558
Refactor entry writing to replication buffer, #62
2015-12-17 13:46:26 +03:00
leventov
12c8503434
Javadoc improvements
2015-12-15 14:27:56 +03:00
leventov
a11f79f798
Remove map persistence file locking, as unnecessary
2015-12-14 18:49:47 +03:00
leventov
229aeb5fdf
Minor improvements related to VanillaChronicleMap.alignAddr()
2015-12-12 18:00:10 +03:00
leventov
b34fcfce71
Remove unused newInstance() method in VanillaChronicleMap
2015-12-11 18:51:29 +03:00
leventov
b362de603e
Remove unused remoteOpContext() and remoteItContext() methods in ReplicatedChronicleMap
2015-12-11 18:50:10 +03:00
leventov
7a5c799a28
Remove throws IORuntimeException everywhere as redundant and deprecated
2015-12-11 16:23:45 +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
Rob Austin
e1c4b972b0
added missing
...
final InetSocketAddress serverInetSocketAddress =
new InetSocketAddress(replicationConfig.serverPort());
final Details serverDetails = new Details(serverInetSocketAddress, localIdentifier);
attached.connector = new ServerConnector(serverDetails);
2015-12-08 17:13:25 +03:00
leventov
497cf9c470
Move MapDiagnostics to main project and make it runnable (psvm)
2015-12-08 16:33:07 +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
dbba27660f
Minor doc fixes
2015-12-06 14:49:50 +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
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
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
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
a0c982374d
Fix a bug in HashSegmentIteration.forEachTierWhile()
2015-11-29 01:52:57 +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
8311cb5ce2
Clean up javadoc excludes
2015-11-27 18:56:32 +03:00
leventov
5d4161eb26
Use BinaryWire instead of TextWire because of predictable whitespace and bytes position after read/write
2015-11-27 16:29:44 +03:00
leventov
4faefe8ca9
Improve FileChannel read/write for persisted ChronicleMaps
2015-11-26 18:49:54 +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
d32f7e9e62
Remove VanillaChronicleMap.nativeValueClass fields (unused)
2015-11-25 18:33:29 +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
d5fe21a290
Fix a bug -- incorrect entry size computation in replace(), checksum bytes forgotten
2015-11-24 23:44:51 +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
648335b546
Add CharSequenceConverter
2015-11-23 19:26:13 +03:00
leventov
beec07f9a9
Remove Xstream XML ChronicleMap header serialization (is going to be replaced with Wire serialization soon)
2015-11-23 18:43:17 +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
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
c056b70259
Remove unused UnaryOperator
2015-10-22 16:37:03 +03:00