Commit Graph
55 Commits
Author SHA1 Message Date
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
leventov 0985eb71a1 Remove metaDataBytes (unused) 2015-10-22 03:45:47 +03:00
leventov f1a13a4dfd Rename rootContextOnThisSegment -> rootContextLockedOnThisSegment and concurrentSameThreadContexts -> nestedContextsLockedOnSameSegment -- clearer names 2015-10-09 19:17:59 +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 64dd5d99c1 Remove redundant hash lookup slot update in innerDefaultReplaceValue() 2015-10-07 17:08:22 +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 b967ad14d4 Factor Alloc stage abstraction, make alloc which fails to allocate in the current tier search from the first tier in chain 2015-10-06 18:59:45 +03:00
leventov 05f94965be Refactor TimeProvider 2015-10-02 13:09:15 +03:00
leventov c88340f842 Fix several bugs 2015-09-28 22:13:03 +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 4c75dfd937 Remove unused type parameter in ReplicatedMapEntryStages class 2015-09-26 22:04:10 +03:00
leventov 026127cd2f Factor KeyHashCode abstraction from HashQuery 2015-09-26 20:47:26 +03:00
leventov d9c771bedc Make key/value size discovery more defensive, inspired by #43 2015-09-21 19:08:45 +03:00
leventov 2eed65e80e HCOLL-360 Add segment tiers 2015-09-17 20:58:52 +03:00
leventov 4606b64a02 Update stage-compiler version removing limitation that stage names shouldn't be prefixes of each other 2015-09-12 21:29:49 +03:00
leventov 6fbcbb8da6 Update chronicle-bom version 2015-09-09 16:44:02 +03:00
leventov 904ecca036 HCOLL-343 HCOLL-227 Remove old entries from ReplicatedChronicleMap 2015-08-23 00:01:44 +03:00
leventov 3729ee3768 HCOLL-360 Update to the latest chronicle-bom 2015-08-04 23:01:53 +03:00
leventov ff99f5cccd On the way to HCOLL-360: Rename HashLookup to CompactOffHeapLinearHashTable and make it not a stage; extracted KeySearch from HashQuery 2015-08-03 20:20:14 +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 e7a8a11505 OHFT-58 Change license to LGPLv3 to protect redistribution 2015-07-25 23:12:23 +03:00
Rob Austin fcd872c643 HCOLL-329 fixing the bootstrapping timestamp issue
Conflicts:
	src/main/java/net/openhft/chronicle/map/ChannelProvider.java
	src/main/java/net/openhft/chronicle/map/Replica.java
	src/main/java/net/openhft/chronicle/map/ReplicatedChronicleMap.java
	src/main/java/net/openhft/chronicle/map/SharedSegment.java
	src/main/java/net/openhft/chronicle/map/TcpReplicator.java
	src/main/java/net/openhft/chronicle/map/VanillaChronicleMap.java
2015-07-25 22:33:24 +03:00
leventov 340ab09409 Moved DefaultValueProvider to the new Contexts API; removed defaultValue() SPI from MapEntryOperations (essentially replaced by DefaultValueProvider); Removed the old contexts, KeyContext and MapKeyContext completely 2015-07-24 21:36:55 +03:00
leventov 9fe1dab477 HCOLL-352 Changed garbage-free Chronicle-Map iterations API from old to new Contexts; Add SegmentContexts API 2015-07-24 20:11:58 +03:00
leventov 912a3cc2fc Removed ChronicleHash.context() method and changed acquireContext() return type from deprecated MapKeyContext to Closeable 2015-07-24 03:43:50 +03:00
leventov 2df3c02750 Fixed a bug in doReplaceValue() 2015-07-22 22:52:41 +03:00
leventov 00ad3068ee Renamed wrapValueAsValue() to wrapValueAsData after Value -> Data rename 2015-07-22 20:46:50 +03:00
leventov fb5f3cf2e1 HCOLL-349 HCOLL-350 stage compilation via annotation processing 2015-07-17 04:25:33 +03:00
leventov 5c8f737654 Revert 'Make working with new bytes' and a couple of fixes 2015-07-01 10:45:48 +03:00
leventov a61ea2240d Rollback to Bytes 1.0.5-alpha and Access 2015-06-27 20:30:22 +03:00
leventov ba27b5d631 Make working with the new Bytes 2015-06-24 06:37:38 +03:00
leventov 1d7f54635a HCOLL-318 added many documentation and examples; Empowerted ReplicableEntry interface, and changed Map/SetRemoteOperations contracts to allow implementing more agile reconciliation strategies 2015-06-20 05:43:34 +03:00
leventov 9746084998 Start setting lastModifiedTime and fixed bootstrapping; clarified some test @Ignores 2015-06-16 16:22:32 +03:00
leventov 65f94178fa Fix compilation issues 2015-06-15 22:08:23 +03:00