Commit 2e8baa6
DLPX-96312 Persist InfluxDB bucket IDs in influxdb_meta
delphix-influxdb-init already knows both bucket IDs (it just created
them via /api/v2/setup and /api/v2/buckets). Persist them into
/etc/influxdb/influxdb_meta as INFLUXDB_BUCKET_ID and
INFLUXDB_SUPPORT_BUCKET_ID so callers (support_info, future tooling)
can look up either bucket without having to scan the engine data
directory.
This avoids a class of bugs where a scan-the-data-dir heuristic returns
the wrong bucket on engines that contain more than just default and
support_metrics — notably InfluxDB's internal _monitoring bucket,
which alphabetically sorts ahead of support_metrics by hex bucket ID
on this engine and was being silently substituted in every bundle.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent ae889c5 commit 2e8baa6
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
259 | 259 | | |
260 | 260 | | |
261 | 261 | | |
| 262 | + | |
262 | 263 | | |
| 264 | + | |
263 | 265 | | |
264 | 266 | | |
265 | 267 | | |
| |||
0 commit comments