Closed lcabancla closed 2 years ago
Thanks for creating this PR!
The unnecessary import stubs need to be removed to pass the build checks. In the process of getting secondary approval for this PR, to be merged in too.
The unnecessary import stubs need to be removed to pass the build checks. In the process of getting secondary approval for this PR, to be merged in too.
I have removed the unnecessary stubs.
Issue #, if available: 58
Description of changes:
Add the following method to the AmazonDynamoDBLockClient:
This method queries LockItems having the same partition key (but different sort key). It does this by calling
dynamoDB.query(this.queryRequest)
.Currently, the only way to read multiple Lock Items from the database is by performing a scan. This change allows the client to query for a subset of the leases only based on the partition key.