When the underlying schema for Swarm Search changes, new feeds are required to generate index data in the new format. Swarm Storage allows the 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 possible for your operations when the second feed is caught up.
Info |
---|
ImportantWhen you verify that
|
...
|
Create a new search feed in the Swarm UI. Do not select Make
...
Primary.
Wait until the new feed has completed indexing the cluster
...
when the feed shows 0 "pending evaluation".
...
Make it the primary feed when the new feed is ready
...
. Navigate to Cluster > Feeds, open the new Search feed, and select Make
...
Primary from the drop-down menu in the Swarm UI.
...
...
Operate with both feeds for several days.
...
In case of any issues during troubleshooting, restore the old feed to
...
the primary
...
feed.
...
Delete the old feed after this confirmation period
...
. Navigate to Cluster > Feeds, open the old Search feed, and select Delete from the drop-down menu in the Swarm UI.
...
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!