Merge pull request #2918 from fengzeroz/v2.14

ekuiper: filters no tags write
This commit is contained in:
fengzeroz
2026-07-22 15:21:29 +08:00
committed by GitHub
+3 -4
View File
@@ -239,14 +239,13 @@ void recv_data_callback(void *arg)
plog_notice(plugin, "write tag %s.%s on node %s", req->single.group,
req->single.tag, req->single.node);
}
} else {
if (req->plural.n_tag == 0) {
plog_warn(plugin, "no tags to write on node %s", req->plural.node);
} else {
rv = send_write_tags_req(plugin, &req->plural, json_str, trace_flag,
trace_id, span_id);
if (rv == 0) {
if (req->plural.n_tag == 0) {
plog_warn(plugin, "no tags to write on node %s",
req->plural.node);
} else {
plog_notice(plugin, "write %d tags on node %s",
req->plural.n_tag, req->plural.node);
}