Skip to content

Commit

Permalink
fix(broker/unified_sql): broker could not insert tag in resources_tag…
Browse files Browse the repository at this point in the history
…s table

REFS:MON-21877
  • Loading branch information
jean-christophe81 authored Feb 7, 2024
1 parent 56b8953 commit 0e7eee0
Show file tree
Hide file tree
Showing 4 changed files with 868 additions and 849 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -293,8 +293,7 @@ class stream : public io::stream {

database::mysql_stmt _severity_insert;
database::mysql_stmt _severity_update;
database::mysql_stmt _tag_insert;
database::mysql_stmt _tag_update;
database::mysql_stmt _tag_insert_update;
database::mysql_stmt _tag_delete;
database::mysql_stmt _resources_tags_insert;
database::mysql_stmt _resources_host_insert;
Expand Down Expand Up @@ -359,9 +358,11 @@ class stream : public io::stream {
void _process_responsive_instance(const std::shared_ptr<io::data>& d);

void _process_pb_host(const std::shared_ptr<io::data>& d);
uint64_t _process_pb_host_in_resources(const Host& h, int32_t conn);
void _process_pb_host_status(const std::shared_ptr<io::data>& d);
void _process_pb_adaptive_host(const std::shared_ptr<io::data>& d);
void _process_pb_service(const std::shared_ptr<io::data>& d);
uint64_t _process_pb_service_in_resources(const Service& s, int32_t conn);
void _process_pb_adaptive_service(const std::shared_ptr<io::data>& d);
void _process_pb_service_status(const std::shared_ptr<io::data>& d);
void _process_severity(const std::shared_ptr<io::data>& d);
Expand Down
Loading

0 comments on commit 0e7eee0

Please sign in to comment.