mirror of
https://github.com/codership/wsrep-lib.git
synced 2025-04-18 10:24:01 +03:00
Allow provider initialization even when connection monitor service
is not supported by Galera library.
This commit is contained in:
parent
e55f01ce1e
commit
7c7c3be62e
@ -100,7 +100,6 @@ int wsrep::connection_monitor_service_v1_probe(void* dlh)
|
||||
wsrep_impl::service_probe<deinit_fn>(
|
||||
dlh, WSREP_CONNECTION_MONITOR_SERVICE_DEINIT_FUNC_V1, "connection monitor service v1"))
|
||||
{
|
||||
wsrep::log_warning() << "Provider does not support connection monitor service v1";
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
@ -43,7 +43,7 @@ namespace wsrep_impl
|
||||
}
|
||||
else
|
||||
{
|
||||
wsrep::log_warning() << "Support for " << service_name
|
||||
wsrep::log_info() << "Support for " << service_name
|
||||
<< " " << symbol
|
||||
<< " not found from provider: "
|
||||
<< dlerror();
|
||||
|
@ -748,9 +748,13 @@ void wsrep::wsrep_provider_v26::init_services(
|
||||
{
|
||||
if (init_connection_monitor_service(wsrep_->dlh, services.connection_monitor_service))
|
||||
{
|
||||
throw wsrep::runtime_error("Failed to initialize connection monitor service");
|
||||
wsrep::log_info() << "Provider does not support connection monitor service";
|
||||
// provider does not support connection monitoring
|
||||
}
|
||||
else
|
||||
{
|
||||
services_enabled_.connection_monitor_service = services.connection_monitor_service;
|
||||
}
|
||||
services_enabled_.connection_monitor_service = services.connection_monitor_service;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user