summaryrefslogtreecommitdiffstats
path: root/database
diff options
context:
space:
mode:
authorAndrew Moss <1043609+amoss@users.noreply.github.com>2020-06-12 17:49:53 +0200
committerGitHub <noreply@github.com>2020-06-12 17:49:53 +0200
commit68f1888227bac1602d8777742995e0276bf05510 (patch)
treef249d428a9a1b92edd5fc1a29ee1264740f3dfd1 /database
parent777818f5b909aa982415968c55cf073e867e9950 (diff)
Change streaming terminology to parent-child in the code (#9323)
Diffstat (limited to 'database')
-rw-r--r--database/rrd.h2
-rw-r--r--database/rrdhost.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/database/rrd.h b/database/rrd.h
index b18c828b03..b6d00ebcce 100644
--- a/database/rrd.h
+++ b/database/rrd.h
@@ -396,7 +396,7 @@ typedef enum rrdset_flags {
RRDSET_FLAG_BACKEND_IGNORE = 1 << 5, // if set, this chart should not be sent to backends
RRDSET_FLAG_UPSTREAM_SEND = 1 << 6, // if set, this chart should be sent upstream (streaming)
RRDSET_FLAG_UPSTREAM_IGNORE = 1 << 7, // if set, this chart should not be sent upstream (streaming)
- RRDSET_FLAG_UPSTREAM_EXPOSED = 1 << 8, // if set, we have sent this chart definition to netdata master (streaming)
+ RRDSET_FLAG_UPSTREAM_EXPOSED = 1 << 8, // if set, we have sent this chart definition to netdata parent (streaming)
RRDSET_FLAG_STORE_FIRST = 1 << 9, // if set, do not eliminate the first collection during interpolation
RRDSET_FLAG_HETEROGENEOUS = 1 << 10, // if set, the chart is not homogeneous (dimensions in it have multiple algorithms, multipliers or dividers)
RRDSET_FLAG_HOMOGENEOUS_CHECK = 1 << 11, // if set, the chart should be checked to determine if the dimensions are homogeneous
diff --git a/database/rrdhost.c b/database/rrdhost.c
index a614a81efd..509e2545af 100644
--- a/database/rrdhost.c
+++ b/database/rrdhost.c
@@ -907,7 +907,7 @@ struct label *load_auto_labels()
add_label_to_list(label_list, "_virt_detection", localhost->system_info->virt_detection, LABEL_SOURCE_AUTO);
label_list = add_label_to_list(
- label_list, "_is_master", (localhost->next || configured_as_master()) ? "true" : "false", LABEL_SOURCE_AUTO);
+ label_list, "_is_parent", (localhost->next || configured_as_parent()) ? "true" : "false", LABEL_SOURCE_AUTO);
if (localhost->rrdpush_send_destination)
label_list =