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

kvindexer: porting event sequences and slash parsing to main #423

Merged
merged 14 commits into from
Mar 21, 2023

Conversation

jmalicevic
Copy link
Contributor

@jmalicevic jmalicevic commented Feb 28, 2023

This PR adds to the kvindexer the ability to query attributes only if they match within the same event by cherry-picking commit 21c00c5 (same behaviour introduced to v0.37.x in #77 ).
Additionally, it includes the fix needed for the indexer to parse correctly queries where the attribute value contains a / symbol - cheery-picking commit: c676b8a (added to v0.37.x in #382 ).

This PR was tested with the following tests:

  • make test
  • local e2e tests
  • Backwards compatibility check on data indexed with older TM versions

jmalicevic and others added 3 commits February 28, 2023 21:34
* state/kvindexer: associate event attributes with events (#9759)
Co-authored-by: Anca Zamfir <zamfiranca@gmail.com>
Co-authored-by: Sergio Mena <sergio@informal.systems>
Co-authored-by: Romain Ruetschi <romain.ruetschi@gmail.com>
Co-authored-by: Thane Thomson <connect@thanethomson.com>

* Backport kvindexer fix

Signed-off-by: Thane Thomson <connect@thanethomson.com>
Co-authored-by: Callum Waters <cmwaters19@gmail.com>
Co-authored-by: Thane Thomson <connect@thanethomson.com>

* By event search is now default behaviour. Including fixes from PRs added to 0.34

Co-authored-by: Lasaro <lasaro@gmail.com>
* txindexer handles slashes in event value


* Update .changelog/unreleased/bug-fixes/382-txindexer-fix-slash-parsing.md

Co-authored-by: Thane Thomson <connect@thanethomson.com>

---------

Co-authored-by: Thane Thomson <connect@thanethomson.com>
@jmalicevic jmalicevic added this to the 2023-Q1 milestone Feb 28, 2023
@jmalicevic jmalicevic self-assigned this Feb 28, 2023
@jmalicevic jmalicevic marked this pull request as ready for review March 2, 2023 19:57
@jmalicevic jmalicevic requested a review from a team as a code owner March 2, 2023 19:57
@jmalicevic jmalicevic mentioned this pull request Mar 13, 2023
21 tasks
Copy link
Contributor

@sergio-mena sergio-mena left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed as a (composite) cherry-pick

state/indexer/block/kv/kv.go Outdated Show resolved Hide resolved
state/indexer/block/kv/kv_test.go Outdated Show resolved Hide resolved
state/indexer/block/kv/util.go Outdated Show resolved Hide resolved
state/txindex/kv/kv.go Outdated Show resolved Hide resolved
Copy link
Contributor

@sergio-mena sergio-mena left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jmalicevic jmalicevic merged commit 5febe17 into main Mar 21, 2023
@jmalicevic jmalicevic deleted the jasmina/kvindexer-fix-0.38 branch March 21, 2023 09:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants