Skip to content

Conversation

@v0idpwn
Copy link
Member

@v0idpwn v0idpwn commented Sep 17, 2025

  • Break ClientHandler into more modules
  • Break ClientHandler into more states, with no arbitrary socket receives
  • Try to isolate some parts of ClientHandler: error handling, auth, etc
  • Remove dead code (read replicas)
  • Some refactoring/renaming, e.g.: db_pid -> db_connection (it was a tuple)
  • Logs and termination clean up
  • Use state enter for state tracking in ClientHandler (removes manual logger.metadata calls, adds telemetry)
  • Fix retries in db handler
  • Improve active counting

- Break ClientHandler into more modules
- Break ClientHandler into more states, with no arbitrary socket
receives
- Try to isolate some parts of ClientHandler: error handling, auth, etc
- Remove dead code (read replicas)
- Some refactoring/renaming, e.g.: db_pid -> db_connection (it was a
tuple)
- Logs and termination clean up
- Use state enter for state tracking in ClientHandler (removes manual
logger.metadata calls, adds telemetry)
@v0idpwn v0idpwn force-pushed the refactor/improve-statems branch from da5885d to 068393c Compare September 25, 2025 21:09
@v0idpwn v0idpwn changed the title refactor: improve state machines (wip) refactor: improve state machines Sep 26, 2025
@v0idpwn v0idpwn marked this pull request as ready for review September 26, 2025 17:07
@v0idpwn v0idpwn requested a review from a team as a code owner September 26, 2025 17:07
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.

1 participant