Skip to content

Instantly share code, notes, and snippets.

@stefnestor
Created April 9, 2023 18:00
Show Gist options
  • Save stefnestor/9dc1b28fa86ccc6a9a54c3f4041a0cb6 to your computer and use it in GitHub Desktop.
Save stefnestor/9dc1b28fa86ccc6a9a54c3f4041a0cb6 to your computer and use it in GitHub Desktop.

These generally the progressive steps/action that are taken, but they are not the guaranteed order. Steps may invoke any other step causing backtracking/jumping.

action/ordered_steps step
setPriority set_priority
unfollow branch-check-unfollow-prerequisites
... wait-for-indexing-complete
... wait-for-shard-tasks
... pause-follower-index
... close-follower-index
... unfollow-follower-index
... open-follower-index
... wait-for-index-color
rollover check-rollover-ready
... attempt-rollover
... wait-for-active-shards
... update-rollover-lifecycle-data
... set-indexing-complete
readonly check-not-write-index
... readonly
allocate allocate
... check-allocator
migrate branch-check-skip-action
... migrate
... check-migration
shrink check-not-write-index
... wait-for-shard-history-leases
... readonly
... cleanup-shrink-index
... generate-index-name
... set-single-node-allocation
... check-strink-allocation
... shrink
... shrunk-shards-allocated
... copy-execution-state
... isDataStreamBranchingStep
... aliases
... is-shrunken-index
... replace-datastream-backing-index
... delete
forceMerge check-not-write-index
... readonly
... if codecChange == CodecService.BEST_COMPRESSION_CODEC
- close-index
- update-settings
- open-index
... wait-for-index-color
... forcemerge
... segment-count
freeze check-not-write-index
... freeze
searchablesnapshots check-not-write-index
... wait-for-shard-history-leases
... if forceMergeIndex:
- forcemerge
- segment-count
... generate-snapshot-name
... cleanup-snapshot
... create-snapshot
... mount-snapshot
... wait-for-index-color
... copy-execution-state
... copy-settings
... isDataStreamBranchingStep
... replace-datastream-backing-index
... delete
... swap-aliases
waitForSnapshot wait-for-snapshot
delete wait-for-shard-history-leases
... delete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment