New to Kestra?
Use blueprints to kickstart your first workflows.
Reindex a frozen OpenSearch source with native Kestra tasks. Check counts and a search canary before atomic alias cutover; retain the old index for rollback.
Change OpenSearch mappings without serving a partially built index. Use a frozen concrete source and a single-index read alias owned by this flow.
LoopUntil waits up to ten minutes; all item failures and counts are checked.Search teams migrating mappings or analyzers during a planned ingestion pause.
Native OpenSearch tasks retain copy results and canary outcomes. The bounded wait and explicit gates make a partial reindex fail before alias promotion.
Kestra 2.0, the OpenSearch plugin, and cluster access. Stop ingestion and set
index.blocks.write=true on the concrete source first. No other operator may
modify the source or alias during the run. This is a read-alias migration;
at cutover both indexes are write-blocked, and the alias has is_write_index=false.
Filtered, routed, hidden and multi-index aliases are rejected.
OPENSEARCH_URL: cluster URL; use trusted TLS for your deployment.OPENSEARCH_USER and OPENSEARCH_PASSWORD: credentials with index read,
create, write, settings, reindex/task and alias-management permissions.OPENSEARCH_REINDEX_WEBHOOK_KEY: key for the migration webhook.sku, title, price and a title matching wireless.Add relevance checks or custom analyzer settings in candidate creation. After failure, inspect or cancel the recorded reindex task before a new execution. Keep enough disk for both copies. Roll back with an atomic alias request to the old index; clean up indexes only after the rollback window. Restrict the webhook to your maintenance caller; update defaults for each new migration.
