• Nirbhay Choubey's avatar
    MDEV-8208: Sporadic SEGFAULT on startup · 6927459e
    Nirbhay Choubey authored
    Addendum:
    * Before calling THD::init_for_queries(), flip the current_thd to wsrep
    thread so that memory gets allocated for the right THD.
    * Use wsrep_creating_startup_threads instead of plugins_are_initialized
    as the condition for the execution of THD::init_for_queries() within
    start_wsrep_THD(), as use of latter could still leave some room for
    race.
    6927459e
wsrep_mysqld.cc 73.5 KB