Skip to content

fix: Kinesis ActiveShards Bug#23

Merged
jshlbrd merged 1 commit intomainfrom
jshlbrd/bugfix-kinesis-listshards
Sep 9, 2022
Merged

fix: Kinesis ActiveShards Bug#23
jshlbrd merged 1 commit intomainfrom
jshlbrd/bugfix-kinesis-listshards

Conversation

@jshlbrd
Copy link
Contributor

@jshlbrd jshlbrd commented Sep 8, 2022

Description

Discovered a bug in the ActiveShards method when handling very large streams -- the Kinesis API does not accept both StreamName and NextToken, it's one or the other and using both causes errors.

Motivation and Context

This was an unknown bug and wasn't discovered until we started seeing anomalous errors with scaling very large streams.

How Has This Been Tested?

Patched in our production AWS accounts, errors seem to be resolved but this is a bit difficult to test because the error only appears at huge scale. If related issues appear then we'll do another fix.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.

@jshlbrd jshlbrd marked this pull request as ready for review September 8, 2022 17:01
@jshlbrd jshlbrd requested a review from a team as a code owner September 8, 2022 17:01
@jshlbrd jshlbrd merged commit da9de62 into main Sep 9, 2022
@jshlbrd jshlbrd deleted the jshlbrd/bugfix-kinesis-listshards branch September 9, 2022 00:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants