Commit graph

420 commits

Author SHA1 Message Date
Joshua Kim
c7cdbd5d8b pom change 2020-06-10 18:57:53 -04:00
ashwing
61aeae3ea1
Merge pull request #48 from ashwing/ltr_1_hsyncperstreamconfig
Hierachical stream syncer per stream config changes
2020-06-10 10:35:24 -07:00
ashwing
291d1b4059
Merge pull request #44 from ashwing/ltr_1_ms_consumerarn
Dedicated consumerArn for streams in multiStream mode
2020-06-09 18:18:21 -07:00
Ashwin Giridharan
b323e7c487 Introducing dedicated shard syncer for each of the streamconfig 2020-06-09 17:14:02 -07:00
Ashwin Giridharan
700c7a563a Adding unit test case 2020-06-07 21:17:24 -07:00
Ashwin Giridharan
b5d0301b31 Adding stream information to Fanout Consumer Registration logs 2020-06-03 01:08:13 -07:00
Ashwin Giridharan
f69398a2b2 Adding dedicated consumerArn support for streams in multistreaming mode 2020-06-03 00:48:11 -07:00
Micah Jaffe
113029e33c
Update lease sync algorithm to create leases for no more than one level of the shard hierarchy (#41)
* Update NonEmptyLeaseTableSynchronizer algorithm to create leases for no more than one level of the shard hierarchy

* Add and fix unit tests for LATEST, TRIM_HORIZON, AT_TIMESTAMP

* Update unit tests

* Fix edge case of reading from TRIM with partial lease for one child shard

* Revert child shards optimization for TRIM/TIMESTAMP case
2020-05-31 10:28:05 -07:00
Ashwin Giridharan
f2ba3bcd2f Changes for partial lease table hole detection, missing hash range detection and recovery 2020-05-29 09:10:14 -07:00
Ashwin Giridharan
67d2b082fd Fixing retry logic 2020-05-26 11:10:10 -07:00
Ashwin Giridharan
08ca1b61bc Changing test case name 2020-05-25 13:37:10 -07:00
Ashwin Giridharan
72a6d5e084 Adding more unit test cases and fixing an edge case 2020-05-25 13:25:43 -07:00
Ashwin Giridharan
fc4781e347 Addressed review comments 2020-05-21 00:57:24 -07:00
ychunxue
52f1be5c67
Merge pull request #32 from ychunxue/ltr_1_updateLeaseFix
Update Parent lease fix
2020-05-07 14:58:24 -07:00
Ashwin Giridharan
02ea8cd70f Added TODO for childshards update fix 2020-05-07 01:36:51 -07:00
Ashwin Giridharan
9115f2000b Logic to auto fill the missing hashranges and lease recovery. Added more unit test cases 2020-05-07 01:28:56 -07:00
Chunxue Yang
80cdf0df6f Update Parent lease fix 2020-05-06 21:12:50 -07:00
Ashwin Giridharan
9e97edd273 Reusing code while determining leaskekey 2020-05-06 11:06:23 -07:00
Ashwin Giridharan
a6922d9d7e Hash range hole confidence check 2020-05-06 10:45:31 -07:00
Ashwin Giridharan
eb00229602 Hole detection logic 2020-05-06 10:45:31 -07:00
Ashwin Giridharan
5cd40e4718 Lease Recovery and Blockoing parent bug fix 2020-05-06 10:45:31 -07:00
Ashwin Giridharan
eb7a60ec62 Fixing a metrics bug 2020-05-06 10:42:34 -07:00
Ashwin Giridharan
d28d26c635 Adding java docs 2020-05-06 10:41:12 -07:00
Ashwin Giridharan
e86b1d1f01 Adding shouldCleanupLeasesForDeletedStreams option to FormerStreamsLeasesDeletionStrategy and introducing OnlyDeletedStreamsLeasesCleanupStrategy. 2020-05-05 18:44:06 -07:00
ychunxue
8e4b8d789b
Merge pull request #26 from ychunxue/ltr_1_lease_parameter
leaseKey parameter fix and logging change for shutdownTask
2020-05-05 17:36:24 -07:00
Chunxue Yang
760c52d7bc getLeaseKey 2020-05-05 17:31:08 -07:00
Chunxue Yang
1036006bb4 leaseKey parameter fix and logging change for shutdownTask 2020-05-05 15:44:45 -07:00
Ashwin Giridharan
c479984fb4 Hashrange persistence changes 2020-05-05 12:58:16 -07:00
Ashwin Giridharan
a73701ff87 Lease I/F changes and drop lease fix 2020-04-30 17:37:13 -07:00
Ashwin Giridharan
4ce0591e79 Adding hashkeyRange back 2020-04-29 15:59:53 -07:00
Ashwin Giridharan
4a323b8f1c Fixing a metrics bug 2020-04-29 15:56:15 -07:00
Ashwin Giridharan
bdec3bd66d Fixing comparison bug and addressing review comments 2020-04-29 15:23:14 -07:00
Renju Radhakrishnan
f69e9cf3ba
Add getResponse override for ShardDetector (#19) (#21) 2020-04-28 16:32:29 -07:00
Ashwin Giridharan
07c9529c14 doc comments 2020-04-28 15:58:50 -07:00
Ashwin Giridharan
4d058ecf51 Persisting hashrange in lease table 2020-04-28 15:53:22 -07:00
Ashwin Giridharan
038524e0b1 Introducing lease deletion strategy for multistreaming 2020-04-24 17:02:55 -07:00
Ashwin Giridharan
167ecfb08c Add licensing information 2020-04-24 17:02:55 -07:00
Ashwin Giridharan
61e500d4fd Adding logging for streanms to be deleted 2020-04-24 17:02:55 -07:00
Ashwin Giridharan
596e3ee797 Exposing interface method to set the wait time for old stream deletion. Adding license details to new classes 2020-04-24 17:02:55 -07:00
Ashwin Giridharan
45387bfd74 Adding logic to garbage collect active streams from stale streams list. 2020-04-24 17:02:54 -07:00
Ashwin Giridharan
f51657f6f7 Changes for adding stream as dimension in multistream mode. Changes for deferred cleanup of stale stream leases to free up record processors. 2020-04-24 17:02:11 -07:00
ychunxue
3de44dc4eb
Merge pull request #16 from ychunxue/ltr_1_merge
ShardEnd child shard persistence change
2020-04-22 15:02:46 -07:00
Chunxue Yang
cde09ca191 Address comments 2020-04-22 15:00:10 -07:00
Chunxue Yang
93dac82bd6 Fixing unit tests 2020-04-22 12:35:23 -07:00
Chunxue Yang
9b14b93941 Merging to ltr_1 2020-04-22 11:14:32 -07:00
Chunxue Yang
054cd88284 ShardEnd sync persistence change
quick fix

Addressing comments
2020-04-22 11:02:44 -07:00
ashwing
15f17700d9
Merge pull request #15 from jushkem/QueryMultiStream
Adding support to filter out multi streaming leases
2020-04-22 00:42:33 -07:00
ashwing
a5f251014e
Merge pull request #14 from Renjuju/cherry-pick-interface-changes
[Cherry-pick to ltr_1] Add DataFetcher and ShardDetector interface changes (#9)
2020-04-22 00:41:20 -07:00
Joshua Kim
2973401248 reverting pom changes 2020-04-21 14:31:07 -04:00
Joshua Kim
9f639b2342 Adding query support for multistream 2020-04-20 16:09:57 -04:00