Commit graph

197 commits

Author SHA1 Message Date
Rex Chen
f9648b4d99 Preparation for v1.14.5
Signed-off-by: Rex Chen <shuningc@amazon.com>
2021-12-10 17:44:15 -05:00
Avinash Chowdary
d8e29e8cd7
Preparing for 1.14.4 Release (#823)
* Upgraded aws java sdk version

* preparing for release 1.4.4

Co-authored-by: Avinash Ravilla <ravillaa@amazon.com>
2021-06-14 17:36:31 -04:00
catalinclapon
cf71e4e4e4
Update the Worker shutdown logic to make sure that the LeaseCleanupManager also terminates all the threads that it has started (#816)
* Update the Worker shutdown logic to make sure that the LeaseCleanupManager also terminates all the threads that it has started

* Minor javadoc fixes
2021-05-13 12:53:52 -07:00
Joshua Kim
b314d56308
Updating to SNAPSHOT version. (#813)
Co-authored-by: Joshua Kim <kimjos@amazon.com>
2021-05-03 18:22:08 -07:00
Joshua Kim
1956e02725
Preparing for 1.14.3 release (#812)
Co-authored-by: Joshua Kim <kimjos@amazon.com>
2021-05-03 15:05:22 -07:00
Joshua Kim
f2b9006a98
Removing cached shard progress, adding guardrails for duplicate shard responses. (#811)
Co-authored-by: Joshua Kim <kimjos@amazon.com>
2021-05-03 13:50:54 -07:00
Joshua Kim
f38dd18ed1
Preparing for 1.14.2 release (#793)
Co-authored-by: Joshua Kim <kimjos@amazon.com>
2021-02-24 14:39:04 -08:00
Joshua Kim
a13ed13702
Fixing bug where ShardFilter parameter for ListShards was being passed in for paginated calls. (#790)
Co-authored-by: Joshua Kim <kimjos@amazon.com>
2021-02-24 13:34:39 -08:00
Ashwin Giridharan
4f6f4e5971 KCL 1.14.1 release 2021-01-27 14:53:54 -08:00
Ashwin Giridharan
9ed1e10fe5 Fixing unit test 2021-01-26 23:21:39 -08:00
Ashwin Giridharan
5142ce9bc5 Fixing exception type 2021-01-26 21:40:22 -08:00
Ashwin Giridharan
530fd477b1 Fixing record processor processing deleted leases in cycle 2021-01-26 15:18:29 -08:00
Ashwin Giridharan
03e162b770 Improving LeaseCleanupManager's cleanupFailureReason 2021-01-25 23:41:23 -08:00
Ashwin Giridharan
b2a747f3ea 1. Update the checkpoint with non SHARD_END sequence number only if the DDB sequence number is not SHARD_END.
2. Verify the shard end checkpointing by directly looking up the ddb lease entry
2021-01-25 23:02:41 -08:00
Ashwin Giridharan
76234d172c Making LeaseCleanupManager more verbose about lease cleanup failures 2021-01-24 16:10:25 -08:00
Ashwin Giridharan
9cb5020022 1. Fix for updating HashRange directly while creating leases and including HashRange in seralizing and deserializing to/from DDB
2. Fix for making LeaseCleanupManager non-singleton to avoid cross-table interference in multiple apps running in same JVM
3. Fixing updateMetaInfo method to not update other lease table fields
4. Preventing shard deletion in LeaseCleanupManager if a valid shard does not have child shards in lease table and in Kinesis Service
5. Adding childshards update support in updateMetaInfo
6. Fixing LeaseCleanupManager to call updateMetaInfo instead of update for childshard update in lease

7. Fixing unit tests to accommodate HashRange changes
2021-01-23 17:58:42 -08:00
Chunxue Yang
dd4e88e621 Updating user agent version 2020-08-17 15:38:55 -07:00
Joshua Kim
700daa7a87 Fixing cache miss bug in list shards 2020-08-17 15:45:41 -04:00
Joshua Kim
a85ef70898 Fixing list shards bug 2020-08-17 15:45:41 -04:00
Joshua Kim
34e9016c01 Deprecating class 2020-08-17 15:45:41 -04:00
Joshua Kim
66bcd45d36 Using correct default shard prioritization strategy.
* Fixing bug where this was set as default in configuration, but if a
configuraiton is not specified it falls back to parent prioritization.
2020-08-17 15:45:41 -04:00
Chunxue Yang
bb84c17abf Lease cleanup interval fix 2020-08-17 15:45:41 -04:00
Cai41
41c08c3b04 Also consider TableStatus.UPDATING status 2020-08-17 15:45:41 -04:00
Chunxue Yang
0d358b682d metric name change for periodicShardSyncManager 2020-07-31 16:29:25 -07:00
Chunxue Yang
32fc14f535 Rebasing and addressing comments 2020-07-31 13:51:30 -07:00
Chunxue Yang
22737c4a5b addressing comments 2020-07-28 17:51:50 -07:00
Chunxue Yang
38cef8963a fixing expectation 2020-07-28 13:43:56 -07:00
Chunxue Yang
6738087a8f updateLeaseWithMetaInfo with expectation 2020-07-28 13:32:04 -07:00
Chunxue Yang
f713017528 LeaseCleanupManager change 2020-07-28 13:11:57 -07:00
Chunxue Yang
c3b41c3b55 refactoring shutdownTask 2020-07-27 18:18:32 -07:00
Chunxue Yang
5f7d4b3bc6 merging and resolving conflicts 2020-07-27 15:19:35 -07:00
Joshua Kim
6f16b168a4
Lease cleanup v1.x (#73)
* Moving lease cleanup to ShutdownTask.
* Introducing LeaseCleanupManager with relevant configs.
2020-07-27 16:08:52 -04:00
Chunxue Yang
8a296a5aa3 change the retry logic 2020-07-21 11:08:56 -07:00
Joshua Kim
089c6ab18e
Making isLeaseTableEmpty use one paginated scan call. (#75)
Co-authored-by: Joshua Kim <kimjos@amazon.com>
2020-07-16 16:27:25 -04:00
Chunxue Yang
5bf24bda43 fix for premature childShard lease creation 2020-07-15 12:33:53 -07:00
Chunxue Yang
a1eafbb69a Addressing comments 2020-07-10 10:43:29 -07:00
Chunxue Yang
995511afe5 Fixing updateParentShardupdateCurrentLeaseWithChildShards method 2020-07-09 16:03:49 -07:00
Chunxue Yang
849ffea028 Periodic shard sync metrics and config 2020-07-09 12:07:30 -07:00
Chunxue Yang
058403f943 addressing comments 2020-07-09 11:20:37 -07:00
Chunxue Yang
36ae2f2428 Bug fix: No longer need full shard sync for shardEnd 2020-07-08 17:45:02 -07:00
Chunxue Yang
5ba87a34ab Merge remote-tracking branch 'ashwin/ltr-v1.x' into periodicShardSyncMetric 2020-07-07 17:17:50 -07:00
ychunxue
53cc7fc347
Merge pull request #67 from ychunxue/ltr1x_latest
KCL 1.x ShardEnd Shard Sync and Lease table ChildShard persistence
2020-07-07 13:49:53 -07:00
Chunxue Yang
0a5724c332 KCL 1.x ShardEnd Shard Sync and Lease table ChildShard persistence 2020-07-06 15:10:17 -07:00
Joshua Kim
0760688375
KinesisShardSyncer only create leases for one level of leases (#49)
Co-authored-by: Joshua Kim <kimjos@amazon.com>
2020-07-06 14:50:21 -04:00
Chunxue Yang
57f8c120d0 Periodc Shard Sync Metrics and Config 2020-07-02 10:15:44 -07:00
Micah Jaffe
3a88a60a4e
Add periodic hash range auditor, hole detection, and recovery (#43)
* Add periodic hash range auditor, hole detection, and recovery

* Add unit tests for hash range hole recovery

* Fix max hash range bug

* Address PR feedback

* Fix DDB hash key persistence bug
2020-06-22 08:45:46 -07:00
Micah Jaffe
6b474b7390
Add configurable max initialization attempts (#39)
* Add configurable max initialization attempts

* Add maxInitializationAttempts to unit test setup
2020-05-15 14:02:44 -07:00
Micah Jaffe
fdad20aff4
Add leader-elected periodic shard sync manager as auditor to ShardEndShardSync strategy (#35)
* Add leader-elected periodic shard sync manager as auditor to ShardEndShardSync strategy

* Address PR feedback and add Builder unit tests
2020-05-14 09:04:44 -07:00
Micah Jaffe
45e76b0fd5
Add leader-elected shard sync on application bootstrap (#28)
* Add leader-elected shard sync on application bootstrap

* Add additional testing and address PR feedback

* Remove runShardSync leader election from boostrap case

* Remove random UUID workerId and update unit tests
2020-05-07 17:08:53 -07:00
Micah Jaffe
550d7af5b1
Add lease sync strategy for empty lease table (#24)
* Add lease sync strategy for empty lease table

* Fix ShardSyncer unit tests to reflect new empty lease table shard sync logic
2020-05-04 17:06:57 -07:00