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

crypto: Change DB schemata to add next_retry_time_ms property/column for InboundGroupSessions #3733

Closed
wants to merge 3 commits into from

Conversation

andybalaam
Copy link
Member

Fixes #3545

Review commit by commit.

This allows us to find InboundGroupSessions based on their next_retry_time_ms, setting us up to be able to retry finding SenderData for sessions even if we failed to do it first time.

@andybalaam andybalaam requested a review from a team as a code owner July 18, 2024 15:40
@andybalaam andybalaam requested review from Hywan and removed request for a team July 18, 2024 15:40
@andybalaam andybalaam force-pushed the andybalaam/db-schema-for-retry-time branch from d701778 to 35fe554 Compare July 18, 2024 15:50
@Hywan Hywan requested a review from poljar July 18, 2024 15:54
@poljar poljar removed the request for review from Hywan July 18, 2024 15:56
Copy link

codecov bot commented Jul 18, 2024

Codecov Report

Attention: Patch coverage is 78.72340% with 10 lines in your changes missing coverage. Please review.

Project coverage is 83.98%. Comparing base (d65e33c) to head (e91f0f8).

Files Patch % Lines
crates/matrix-sdk-sqlite/src/crypto_store.rs 75.00% 6 Missing ⚠️
crates/matrix-sdk-crypto/src/store/traits.rs 0.00% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3733      +/-   ##
==========================================
- Coverage   84.01%   83.98%   -0.03%     
==========================================
  Files         260      260              
  Lines       26719    26764      +45     
==========================================
+ Hits        22447    22479      +32     
- Misses       4272     4285      +13     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@andybalaam andybalaam force-pushed the andybalaam/db-schema-for-retry-time branch from 35fe554 to e91f0f8 Compare July 19, 2024 14:00
@andybalaam andybalaam requested a review from poljar July 22, 2024 08:06
@andybalaam andybalaam marked this pull request as draft July 23, 2024 11:06
@andybalaam
Copy link
Member Author

Converted to draft because we think we can design this without a retry mechanism at all.

@andybalaam
Copy link
Member Author

No longer needed - see the updated plan in #3544

@andybalaam andybalaam closed this Jul 23, 2024
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.

Sender Data: Change DB schemata to add next_retry_time_ms property/column
2 participants