diff --git a/x-pack/plugins/upgrade_assistant/server/lib/reindexing/credential_store.ts b/x-pack/plugins/upgrade_assistant/server/lib/reindexing/credential_store.ts index 47bb2ade7af1b..b3d4d5e165a13 100644 --- a/x-pack/plugins/upgrade_assistant/server/lib/reindexing/credential_store.ts +++ b/x-pack/plugins/upgrade_assistant/server/lib/reindexing/credential_store.ts @@ -17,6 +17,8 @@ export type Credential = Record; // Generates a stable hash for the reindex operation's current state. const getHash = (reindexOp: ReindexSavedObject) => { + // Remove reindexOptions from the SO attributes as it creates an unstable hash + // This needs further investigation, see: https://github.com/elastic/kibana/issues/123752 const { reindexOptions, ...attributes } = reindexOp.attributes; return createHash('sha256') .update(stringify({ id: reindexOp.id, ...attributes }))