Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

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 from using one feed to another without disruption. During the transition, continue using the primary feed for queries; the second feed is incomplete until it fully clears its backlog. When the second feed is caught up, transition to it (marking it as primary) as soon as reasonable for your operations.

Important

When you verify that 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 a new search feedDo not select Make primary.
  2. Wait until the new feed has completed indexing the cluster, when the feed shows 0 "pending evaluation".

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

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

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

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

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


  • No labels