Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

When the underlying schema for Swarm Search changes, new feeds are required to generate index data in the new format. Swarm Storage allows creation of more than one Search feed so that you can transition transitioning from using one feed to another is possible without disruption. During the transition, continue Continue using the primary feed for queries during the transition; the second feed is incomplete until it fully clears its backlog. When the second feed is caught up, transition Transition to it (marking it as primary) as soon as reasonable for your operations when the second feed is caught up.

Info

Important

When you verify that Delete the original feed when verifying the new primary feed target is working, delete the original feed. Having two feeds is for temporary use only because every feed incurs cluster activity, even when paused.

  1. In the Swarm UI, create Create a new search feed in the Swarm UIDo not select Make primary.

  2. Wait until the new feed has completed indexing the cluster, when the feed shows 0 "pending evaluation".

  3. When Make it the primary feed when the new feed is ready, make it the primary feed. In the Swarm UI, go . Go to Cluster > Feeds, open the new Search feed, and select Make primary from the drop-down menu in the Swarm UI
     

  4. Operate with both feeds for several days. If there is a problem, you You can restore the old feed to be primary during troubleshooting if there is a problem.

  5. After Delete the old feed after this confirmation period, delete the old feed. In the Swarm UI, go . Go to Cluster > Feeds, open the old Search feed, and select Delete from the drop-down menu in the Swarm UI

  6. If desired, delete Delete the old index data to reclaim that space if desired.

    Code Block
    curl -XDELETE 'http://old-elasticsearch:9200/_all'  # do not do this to your production data!


...