Skip to content

fix- initialize optuna schema for launching worker#35

Merged
cherusk merged 1 commit intomainfrom
breeder_create_initiliaze_optuna_db
Jan 18, 2026
Merged

fix- initialize optuna schema for launching worker#35
cherusk merged 1 commit intomainfrom
breeder_create_initiliaze_optuna_db

Conversation

@cherusk
Copy link
Member

@cherusk cherusk commented Jan 18, 2026

Multiple breeder workers starting simultaneously were racing to create
Optuna database tables, causing YugabyteDB serialization failures.

Initialize the Optuna schema once in the controller after creating the
breeder database, before launching any workers. This prevents workers
from trying to create the same tables concurrently.

Fixes: psycopg2.errors.SerializationFailure during breeder worker startup

@cherusk cherusk force-pushed the breeder_create_initiliaze_optuna_db branch 2 times, most recently from 9e6cb95 to e19da95 Compare January 18, 2026 19:59
  Multiple breeder workers starting simultaneously were racing to create
  Optuna database tables, causing YugabyteDB serialization failures.

  Initialize the Optuna schema once in the controller after creating the
  breeder database, before launching any workers. This prevents workers
  from trying to create the same tables concurrently.

  Fixes: psycopg2.errors.SerializationFailure during breeder worker startup
@cherusk cherusk force-pushed the breeder_create_initiliaze_optuna_db branch from e19da95 to a6de494 Compare January 18, 2026 20:00
@cherusk cherusk merged commit e71259d into main Jan 18, 2026
2 checks passed
@cherusk cherusk deleted the breeder_create_initiliaze_optuna_db branch January 18, 2026 20:01
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