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

feat(events): adjust indexes in event index db to match query patterns #11934

Merged
merged 1 commit into from
Apr 29, 2024

Conversation

rvagg
Copy link
Member

@rvagg rvagg commented Apr 26, 2024

Introduces a v4 migration that just adjusts indexes.

Copies some improvements from #11723

Closes: #11909

/cc @i-norden

Introduces a v4 migration that just adjusts indexes.

Copies some improvements from #11723

Closes: #11909
@rvagg rvagg force-pushed the rvagg/event-index-indexes branch from 8a3b0fa to 32fb542 Compare April 26, 2024 10:31
@rvagg rvagg merged commit 10877d2 into master Apr 29, 2024
186 checks passed
@rvagg rvagg deleted the rvagg/event-index-indexes branch April 29, 2024 03:21
@rvagg
Copy link
Member Author

rvagg commented Apr 29, 2024

Updated my calibnet node with master:

{"level":"info","ts":"2024-04-29T14:02:24.696+1000","logger":"filter","caller":"filter/index.go:432","msg":"Upgrading event index from version 2 to version 3"}
{"level":"info","ts":"2024-04-29T14:02:25.046+1000","logger":"filter","caller":"filter/index.go:313","msg":"Successfully migrated event index from version 2 to version 3 in 349.827948ms"}
{"level":"info","ts":"2024-04-29T14:02:25.046+1000","logger":"filter","caller":"filter/index.go:442","msg":"Upgrading event index from version 3 to version 4"}
{"level":"info","ts":"2024-04-29T14:02:25.046+1000","logger":"filter","caller":"filter/index.go:374","msg":"Performing DB vacuum and wal checkpointing to free up space after the migration"}
{"level":"info","ts":"2024-04-29T14:02:32.881+1000","logger":"filter","caller":"filter/index.go:366","msg":"Successfully migrated events to version 3 in 7.835114071s"}

fixing that last message in #11937, my bad in this PR, and I was being so careful making everything consistent!

@rvagg rvagg mentioned this pull request May 1, 2024
8 tasks
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.

Index change proposals for the events sqlite database
2 participants