Bird
Raised Fist0

Given this sequence during a rolling upgrade:

medium📝 Predict Output Q4 of Q15
Elasticsearch - Cluster Management
Given this sequence during a rolling upgrade:
1. Disable shard allocation
2. Upgrade node A
3. Enable shard allocation
4. Upgrade node B
What happens if shard allocation is enabled before node B upgrade?
AShard allocation has no effect on node upgrades
BNode B upgrades faster with no shard movement
CShards may move to node B causing instability during upgrade
DCluster automatically disables shard allocation again
Step-by-Step Solution
Solution:
  1. Step 1: Understand shard allocation effect

    Enabling shard allocation allows shards to move between nodes.
  2. Step 2: Analyze impact before node B upgrade

    If enabled before node B upgrade, shards may move to node B, which is restarting, causing instability.
  3. Final Answer:

    Shards may move to node B causing instability during upgrade -> Option C
  4. Quick Check:

    Enable allocation early = shards move during upgrade [OK]
Quick Trick: Enable shard allocation only after node fully upgraded [OK]
Common Mistakes:
MISTAKES
  • Assuming shard allocation doesn't affect upgrades
  • Believing shards stay put when allocation enabled
  • Thinking cluster disables allocation automatically

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Elasticsearch Quizzes