Skip to content
This repository was archived by the owner on Jan 22, 2025. It is now read-only.

get_signatures_for_address does not correctly account for result sets that span local and Bigtable sources (backport #22115)#22168

Merged
mergify[bot] merged 1 commit intov1.9from
mergify/bp/v1.9/pr-22115
Dec 29, 2021
Merged

get_signatures_for_address does not correctly account for result sets that span local and Bigtable sources (backport #22115)#22168
mergify[bot] merged 1 commit intov1.9from
mergify/bp/v1.9/pr-22115

Conversation

@mergify
Copy link
Copy Markdown
Contributor

@mergify mergify Bot commented Dec 29, 2021

This is an automatic backport of pull request #22115 done by Mergify.


Mergify commands and options

More conditions and actions can be found in the documentation.

You can also trigger Mergify actions by commenting on this pull request:

  • @Mergifyio refresh will re-evaluate the rules
  • @Mergifyio rebase will rebase this PR on its base branch
  • @Mergifyio update will merge the base branch into this PR
  • @Mergifyio backport <destination> will backport this PR on <destination> branch

Additionally, on Mergify dashboard you can:

  • look at your merge queues
  • generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.com

… that span local and Bigtable sources (#22115)

* get_signatures_for_address does not correctly account for result sets that span Blockstore and Bigtable.

This causes Bigtable to return `RowNotFound` until the new tx is uploaded.

Check that `before` exists in Bigtable, and if not, set it to `None` to return the full data set.

References #21442
Closes #22110

* Differentiate between before sig not found and no newer signatures

* Dedupe bigtable results to account for potential upload race

Co-authored-by: Tyera Eulberg <tyera@solana.com>
(cherry picked from commit bac6821)
@mergify mergify Bot added the automerge Merge this Pull Request automatically once CI passes label Dec 29, 2021
@codecov
Copy link
Copy Markdown

codecov Bot commented Dec 29, 2021

Codecov Report

Merging #22168 (e81bcd8) into v1.9 (9fb67f9) will increase coverage by 0.0%.
The diff coverage is 57.7%.

@@           Coverage Diff           @@
##             v1.9   #22168   +/-   ##
=======================================
  Coverage    81.1%    81.1%           
=======================================
  Files         516      516           
  Lines      144646   144683   +37     
=======================================
+ Hits       117415   117448   +33     
- Misses      27231    27235    +4     

@mergify mergify Bot merged commit 74b98c2 into v1.9 Dec 29, 2021
@mergify mergify Bot deleted the mergify/bp/v1.9/pr-22115 branch December 29, 2021 19:52
@brooksprumo brooksprumo mentioned this pull request Jan 5, 2022
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 3, 2022

This PR has been automatically locked since there has not been any activity in past 14 days after it was merged.

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Apr 3, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

automerge Merge this Pull Request automatically once CI passes locked PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant