26#ifndef ROUTING_CLASSIC_INIT_SCHEMA_FORWARDER_INCLUDED
27#define ROUTING_CLASSIC_INIT_SCHEMA_FORWARDER_INCLUDED
33 using ForwardingProcessor::ForwardingProcessor;
49 static std::string_view
prefix() {
return "mysql/init_schema"; }
a processor base class with helper functions.
Definition: forwarding_processor.h:38
Definition: classic_init_schema_forwarder.h:31
TraceEvent * trace_event_connect_and_forward_command_
Definition: classic_init_schema_forwarder.h:69
Stage stage_
Definition: classic_init_schema_forwarder.h:66
stdx::expected< Result, std::error_code > error()
Definition: classic_init_schema_forwarder.cc:236
static std::string_view prefix()
Definition: classic_init_schema_forwarder.h:49
stdx::expected< Result, std::error_code > connected()
Definition: classic_init_schema_forwarder.cc:96
Stage
Definition: classic_init_schema_forwarder.h:35
stdx::expected< Result, std::error_code > forward()
Definition: classic_init_schema_forwarder.cc:130
void stage(Stage stage)
Definition: classic_init_schema_forwarder.h:53
stdx::expected< Result, std::error_code > process() override
Definition: classic_init_schema_forwarder.cc:37
stdx::expected< Result, std::error_code > forward_done()
Definition: classic_init_schema_forwarder.cc:136
stdx::expected< Result, std::error_code > response()
Definition: classic_init_schema_forwarder.cc:146
TraceEvent * trace_event_command_
Definition: classic_init_schema_forwarder.h:68
stdx::expected< Result, std::error_code > ok()
Definition: classic_init_schema_forwarder.cc:176
stdx::expected< Result, std::error_code > connect()
Definition: classic_init_schema_forwarder.cc:86
Stage stage() const
Definition: classic_init_schema_forwarder.h:54
TraceEvent * trace_event_forward_command_
Definition: classic_init_schema_forwarder.h:70
stdx::expected< Result, std::error_code > command()
Definition: classic_init_schema_forwarder.cc:63
Definition: expected.h:284
Definition: trace_span.h:35