Skip to content

Conversation

@calavera
Copy link
Contributor

@calavera calavera commented Nov 3, 2025

Context

We want to move away from RocksDB as the state store driver.

What

This is a very early implementation of the state store driver using FoundationDB. There are still many things that don't work. I'm opening it to keep track of this work outside my laptop.

I had to remove the whole migrations module, as welll as the RocksDB implementation to move things forward. I tried keeping both drivers, but dealing with lifetimes for RocksDB transactions and FDB transactions became a major pita.

Testing

The code compiles with multiple warnings at the moment. Tests fail since there is no FDB server running in CI.

Contribution Checklist

  • If a Python package was changed, please run make fmt in the package directory.
  • If the server was changed, please run make fmt in server/.
  • Make sure all PR Checks are passing.

Try to move everything an async interface.
Remove migrations.
RocksDB transactions are not Send, and we cannot send them across
threads. So, we cannot have a enum holding both.
@calavera calavera mentioned this pull request Nov 3, 2025
3 tasks
@calavera calavera mentioned this pull request Nov 10, 2025
3 tasks
@calavera
Copy link
Contributor Author

This PR is not necessary anymore. The relevant logic here lives now in #1856.

@calavera calavera closed this Nov 10, 2025
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.

2 participants