Comment 3 for bug 1039121

Revision history for this message
Raghavendra D Prabhu (raghavendra-prabhu) wrote :

wsrep_on value conflicts with provider:

  if (strlen(wsrep_provider)== 0 ||
      !strcmp(wsrep_provider, WSREP_NONE))
  {
    // enable normal operation in case no provider is specified
    wsrep_ready_set(TRUE);
    global_system_variables.wsrep_on = 0;
    return 0;
  }

ie. with galera provider and wsrep_on=0 it may not work
correctly (I even got a crash while testing), while with the none provider it may. So, it may be better to keep wsrep_on a runtime session variable and not have it as a command line one. Updating docs for now.