Commit Graph
749 Commits
Author SHA1 Message Date
leventov 7460074ac5 Moved testFloodReplicatedMapWithDeletedEntries() test to a separate class from TcpReplicationSoakTest because they require different old deleted entries cleanup timeout configurations 2015-10-03 05:06:39 +03:00
leventov 05f94965be Refactor TimeProvider 2015-10-02 13:09:15 +03:00
leventov 0a5bc1e50c Fix same-key check in linkToSegmentContextsChain() 2015-09-29 00:42:20 +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 01d24b0ee0 As ChronicleMapBuilder always cloned before Map creation, make 'replicated' an 'instance' field instead of a parameter of almost all methods 2015-09-26 22:04:28 +03:00
leventov 5a54f6a194 Remove stateless client 2015-09-25 20:39:39 +03:00
leventov d9c771bedc Make key/value size discovery more defensive, inspired by #43 2015-09-21 19:08:45 +03:00
leventov 3370aa7dba Add ChronicleHashBuilder.allowSegmentTiering() config for regressions and EntryCountMapTest 2015-09-18 18:14:40 +03:00
leventov 19519c347a #43 add test 2015-09-18 15:36:46 +03:00
leventov 50662c521b HCOLL-360 Small fixes 2015-09-17 23:37:40 +03:00
leventov 2eed65e80e HCOLL-360 Add segment tiers 2015-09-17 20:58:52 +03:00
leventov 23d94257e1 HCOLL-384 add a test for issue #37 2015-09-10 17:00:38 +03:00
leventov 88843fae92 HCOLL-343 add an option not to erase old removed entries from ReplicatedChronicleMap 2015-08-27 00:01:46 +03:00
leventov 904ecca036 HCOLL-343 HCOLL-227 Remove old entries from ReplicatedChronicleMap 2015-08-23 00:01:44 +03:00
leventov 8faae76b0a Changed ports in TestReplication 2015-08-06 04:05:59 +03:00
leventov b5cf817b2a Zero out contents of a newly-created persisted ChronicleHash 2015-08-06 03:46:54 +03:00
leventov 22df53afb9 Try un-@Ignore some tests 2015-08-02 01:31:09 +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 cf583d4510 Removed unused duplicating HashLookup class and package 2015-07-30 02:44:11 +03:00
leventov e39dfc394c Add ChronicleHashBuilder.averageKey() and ChronicleMapBuilder.averageValue() methods 2015-07-29 01:21:21 +03:00
leventov a3c9ed688c Update Javadocs - insert missing <p>In the beginnings of the paragraphs 2015-07-28 23:57:42 +03:00
leventov c58ca37d07 Returned previously removed @Ignore 2015-07-28 19:29:26 +03:00
leventov dc8b70c124 Improved reclamation in TestReplication class in attempt to overcome test inference issues on TC 2015-07-28 19:14:21 +03:00
leventov b88c821ea5 HCOLL-369 various fixes 2015-07-25 23:54:17 +03:00
leventov 27275fa5be Use different ports in different tests in StatelessClientDuplicateKeyTest 2015-07-25 23:33:36 +03:00
leventov 9a1842479a Updated StatelessClientDuplicateKeyTest #33 2015-07-25 23:33:18 +03:00
leventov 19e4fce3d0 Add StatelessClientDuplicateKeyTest (see #33) 2015-07-25 23:32:59 +03:00
Peter Lawrey 87449b7d99 Replace "throws Exception" with the specific Exception(s) thrown.
Conflicts:
	src/main/java/net/openhft/chronicle/map/EngineReplicationLangBytes.java
	src/main/java/net/openhft/chronicle/map/ReplicatedChronicleMap.java
	src/main/java/net/openhft/chronicle/map/VanillaChronicleMap.java
	src/test/java/net/openhft/chronicle/map/ChronicleMapTest.java
	src/test/java/net/openhft/chronicle/map/IntIntMultiMapTest.java
2015-07-25 23:25:54 +03:00
leventov e7a8a11505 OHFT-58 Change license to LGPLv3 to protect redistribution 2015-07-25 23:12:23 +03:00
Peter Lawrey b1f9751025 Use Jvm.pause instead of Thread.sleep and remove replication information from MapEvent. 2015-07-25 22:48:52 +03:00
leventov c67fb8bb20 Conflicts:
pom.xml
2015-07-25 22:46:08 +03:00
leventov db76f89ea0 Added a test illustrating Hash code & segment distribution spec
Conflicts:
	pom.xml
2015-07-25 22:44:41 +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 da06ba106e added a Null check for - modificationNotifier != null 2015-07-25 19:19:38 +03:00
leventov 81a20e6751 Update @Ignore 2015-07-25 19:14:25 +03:00
Rob Austin e3fc5c9aa8 added in a fix for net.openhft.chronicle.map.ReplicateProxyMapUpdatedViaSharedMemoryTest.testReplicateProxyMapUpdatedViaSharedMemory
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
2015-07-25 19:00:44 +03:00
Rob Austin dedaa11c5f fixed typo 2015-07-25 18:32:27 +03:00
Rob Austin 90c4aebe5d added test case testReplicationUsingAProxyMapThatsUpdatedViaSharedMemory 2015-07-25 18:31:22 +03:00
Rob Austin 9a7eac0cc9 HCOLL-328 - Possible issue with ChronicleSet on restart 2015-07-25 18:22:51 +03:00
Rob Austin e2020e3ff2 testing off heap interfaces with String[]
Conflicts:
	src/test/java/net/openhft/chronicle/map/CHMUseCasesTest.java
2015-07-25 18:14:13 +03:00
Peter Lawrey 88076fbdc8 Increase test to 50 2015-07-25 18:03:33 +03:00
Rob Austin 71423382c2 removed unwanted test 2015-07-25 18:02:25 +03:00
Rob Austin 0f246f7355 changed to us File.createTempFile
Conflicts:
	src/test/java/net/openhft/chronicle/map/CHMUseCasesTest.java
2015-07-25 18:01:17 +03:00
Rob Austin 2b954664fa HCOLL-302 removed map.close() 2015-07-25 17:57:21 +03:00
Rob Austin da3e104974 ensure file location is unique - File file = new File(TMP + "/chronicle-map-" + System.currentTimeMillis() + (i++) + System.nanoTime() + ".json"); 2015-07-25 17:54:39 +03:00
Rob Austin 3ce0a03ca2 ensure that we close() on interupt
Conflicts:
	src/test/java/net/openhft/chronicle/map/CHMUseCasesTest.java
2015-07-25 17:08:55 +03:00
Rob Austin 9557993b8f added @Ignore
Conflicts:
	src/test/java/net/openhft/chronicle/map/CHMUseCasesTest.java
2015-07-25 17:08:07 +03:00
Rob Austin ba0b8e9add focusing on using autoClose 2015-07-25 17:03:46 +03:00