1
0
mirror of https://github.com/codership/wsrep-lib.git synced 2025-07-30 07:23:07 +03:00

Address review comments

This commit is contained in:
Daniele Sciascia
2025-05-20 08:52:09 +02:00
parent 450851a176
commit c68863a5d2
3 changed files with 4 additions and 3 deletions

View File

@ -523,7 +523,7 @@ namespace wsrep
* Create a new provider. * Create a new provider.
* *
* @param provider_spec Provider specification * @param provider_spec Provider specification
* @param provider_options Initial options to provider * @param provider_options_cb Callback to get initial provider options
* @param thread_service Optional thread service implementation. * @param thread_service Optional thread service implementation.
*/ */
static std::unique_ptr<provider> static std::unique_ptr<provider>

View File

@ -297,7 +297,8 @@ namespace wsrep
* @return Zero on success, non-zero on error. * @return Zero on success, non-zero on error.
*/ */
int load_provider(const std::string& provider, int load_provider(const std::string& provider,
const std::function<std::string(const provider_options&)>&, const std::function<std::string(
const provider_options&)>& provider_options_cb,
const wsrep::provider::services& services const wsrep::provider::services& services
= wsrep::provider::services()); = wsrep::provider::services());

View File

@ -233,7 +233,7 @@ int wsrep::config_service_v2_fetch(struct wsrep_st* wsrep,
} }
if (config_service_v2_probe(wsrep->dlh)) if (config_service_v2_probe(wsrep->dlh))
{ {
wsrep::log_warning() << "Provider does not support config service v2"; wsrep::log_info() << "Provider does not support config service v2";
return 1; return 1;
} }
if (config_service_v2_init(wsrep->dlh)) if (config_service_v2_init(wsrep->dlh))