Skip to content

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

Merged
jmalicevic merged 14 commits into
mainfrom
jasmina/kvindexer-fix-0.38
Mar 21, 2023
Merged

jmalicevic merged 14 commits into
mainfrom
jasmina/kvindexer-fix-0.38

Conversation

@jmalicevic

@jmalicevic jmalicevic commented Feb 28, 2023 •

Copy link
Copy Markdown
Collaborator

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 <[email protected]>
Co-authored-by: Sergio Mena <[email protected]>
Co-authored-by: Romain Ruetschi <[email protected]>
Co-authored-by: Thane Thomson <[email protected]>

* Backport kvindexer fix

Signed-off-by: Thane Thomson <[email protected]>
Co-authored-by: Callum Waters <[email protected]>
Co-authored-by: Thane Thomson <[email protected]>

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

Co-authored-by: Lasaro <[email protected]>
* txindexer handles slashes in event value


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

Co-authored-by: Thane Thomson <[email protected]>

---------

Co-authored-by: Thane Thomson <[email protected]>
@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
17 of 21 tasks

@sergio-mena sergio-mena left a comment

Copy link
Copy Markdown
Collaborator

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

Comment thread state/indexer/block/kv/kv.go Resolved
Comment thread state/indexer/block/kv/kv_test.go Resolved
Comment thread state/indexer/block/kv/util.go Resolved
Comment thread state/txindex/kv/kv.go Resolved

@sergio-mena sergio-mena left a comment

Copy link
Copy Markdown
Collaborator

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.

2 participants