AWS timestream: Update plugin by disabling and enabling trigger instead of update command
Summary
Replaces the `influxdb3 update trigger` instructions with a disable-then-enable trigger workflow (including the corresponding troubleshooting row) for re-fetching updated plugin code on a cluster.
Security assessment
The diff only changes the CLI procedure for refreshing plugin code (update trigger -> disable/enable trigger) and the matching troubleshooting entry; it contains no authentication, encryption, or exposure content.
Evidence
+To update a plugin after you push changes to your repository, disable and then enable the trigger against your cluster endpoint. This re-fetches the plugin and applies the change to the running trigger without recreating it, and no cluster reboot is required:
Diff
diff --git a/timestream/latest/developerguide/influxdb3-custom-plugins.md b/timestream/latest/developerguide/influxdb3-custom-plugins.md index 52bc56f..78b5ba0 100644 --- a//timestream/latest/developerguide/influxdb3-custom-plugins.md +++ b//timestream/latest/developerguide/influxdb3-custom-plugins.md @@ -242 +242 @@ A host-only base lets the cluster load plugin code from _any_ repository the hos -To update a plugin after you push changes to your repository, use the `influxdb3 update trigger` command against your cluster endpoint. This re-fetches the plugin and applies the change to the running trigger without recreating it – no cluster reboot is required: +To update a plugin after you push changes to your repository, disable and then enable the trigger against your cluster endpoint. This re-fetches the plugin and applies the change to the running trigger without recreating it, and no cluster reboot is required: @@ -245 +245 @@ To update a plugin after you push changes to your repository, use the `influxdb3 - influxdb3 update trigger \ + influxdb3 disable trigger \ @@ -248,2 +248,6 @@ To update a plugin after you push changes to your repository, use the `influxdb3 - --trigger-name enrich_sensor_data \ - --path "gh:transforms/enrich.py" + enrich_sensor_data + + influxdb3 enable trigger \ + --database DATABASE_NAME \ + --token YOUR_ADMIN_TOKEN \ + enrich_sensor_data @@ -404 +408 @@ AWS KMS access-denied reading the secret | You replaced the default key policy o -Updated a plugin but the trigger runs the old version | Run `influxdb3 update trigger` to re-fetch the updated plugin for that trigger. +Updated a plugin but the trigger runs the old version | Disable and then enable the trigger to re-fetch the updated plugin for that trigger.