Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix bug so GLOBAL read-only items do not expire from TTL in ddb source coordination store #3703

Merged

Conversation

graytaylor0
Copy link
Member

@graytaylor0 graytaylor0 commented Nov 27, 2023

Description

Currently, the dynamodb source coordination store using ttl will update the ttl whenever items are updated to keep them preserved. However, there are some cases where items in the table may be read-only, which means they will never be updated and will expire after the ttl no matter what. This would affect dynamodb source pipelines, as there are 3 GLOBAL read-only items (1 for table details, 1 for export details, 1 for stream details).

Tested that the GLOBAL items do not receive an expirationTime as TTL with the dynamodb source

Check List

  • New functionality includes testing.
  • New functionality has a documentation issue. Please link to it in this PR.
    • New functionality has javadoc added
  • Commits are signed with a real name per the DCO

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

chenqi0805
chenqi0805 previously approved these changes Nov 27, 2023
Signed-off-by: Taylor Gray <[email protected]>
@dlvenable dlvenable merged commit c8548a0 into opensearch-project:main Nov 28, 2023
41 of 43 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Nov 28, 2023
…e coordination store (#3703)

Fix bug so GLOBAL read-only items do not expire from TTL in ddb source coordination store

Signed-off-by: Taylor Gray <[email protected]>
(cherry picked from commit c8548a0)
graytaylor0 added a commit that referenced this pull request Nov 28, 2023
…e coordination store (#3703) (#3711)

Fix bug so GLOBAL read-only items do not expire from TTL in ddb source coordination store

Signed-off-by: Taylor Gray <[email protected]>
(cherry picked from commit c8548a0)

Co-authored-by: Taylor Gray <[email protected]>
@dlvenable dlvenable added this to the v2.6 milestone Nov 28, 2023
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.

3 participants