Skip to content

aws_dynamodb_cdc: extract per shard in-flight message counting logic - #4746

Open
Leward wants to merge 1 commit into
dynamo_batcher_improvementsfrom
dynamo_batcher_impr_2
Open

aws_dynamodb_cdc: extract per shard in-flight message counting logic#4746
Leward wants to merge 1 commit into
dynamo_batcher_improvementsfrom
dynamo_batcher_impr_2

Conversation

@Leward

@Leward Leward commented Aug 31, 2026

Copy link
Copy Markdown

Extracted new functions (shardInFlightLocked and ShardInFlightCount) to make the main TryReserve logic easier to reason about.

This also allows us to more easily unit test this counting logic in isolation.

@CLAassistant

CLAassistant commented Aug 31, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@Leward
Leward force-pushed the dynamo_batcher_impr_2 branch from c68b332 to 44a5333 Compare August 31, 2026 18:30
Extracted new functions (`shardInFlightLocked` and `ShardInFlightCount`) to make the main `TryReserve` logic easier to reason about.

This also allows us to more easily unit test this counting logic in isolation.
@Leward
Leward force-pushed the dynamo_batcher_impr_2 branch from 44a5333 to 9b42e88 Compare August 31, 2026 19:01
@Leward
Leward requested a review from squiidz August 31, 2026 19:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants