You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@usergrid.apache.org by "Jeffrey (JIRA)" <ji...@apache.org> on 2015/07/12 18:58:04 UTC

[jira] [Resolved] (USERGRID-490) Update index aliases to be created atomically

     [ https://issues.apache.org/jira/browse/USERGRID-490?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jeffrey  resolved USERGRID-490.
-------------------------------

> 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
>            Assignee: Todd Nine
>             Fix For: 2.1
>
>
> 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)