Todd Nine created USERGRID-490:
----------------------------------

             Summary: Update index aliases to be created atomically
                 Key: USERGRID-490
                 URL: https://issues.apache.org/jira/browse/USERGRID-490
             Project: Usergrid
          Issue Type: Story
            Reporter: Todd Nine


Currently, we move our index aliases in multiple steps.  This can lead to 
inconsistent alias state if fail during one of these operations.  Our alias 
operation should perform a single swap command.  We should perform the 
following during index allocation.

# Create the target index successfully
# Issue a single http call that will move the write alias, and add the read 
alias to the new index, per this HTTP command equivalent.

http://www.elastic.co/guide/en/elasticsearch/reference/current/indices-aliases.html#indices-aliases




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to