haizaar
(Zaar Hai)
June 5, 2013, 8:59am
1
Hello everyone!
I would like to know if the following alias renaming operation is atomic?
curl -XPOST 'http://localhost:9200/_aliases ' -d '
{
"actions" : [
{ "remove" : { "index" : "test1", "alias" : "alias1" } },
{ "add" : { "index" : "test1", "alias" : "alias2" } }
]
}'
I would to make sure that would not be a moment where no alias will be
available for test1 index at all?
Thanks,
Zaar
--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com .
For more options, visit https://groups.google.com/groups/opt_out .
Ivan
(Ivan Brusic)
June 5, 2013, 2:36pm
2
Yes, all the actions will occur at the same time.
--
Ivan
On Wed, Jun 5, 2013 at 1:59 AM, Zaar Hai haizaar@gmail.com wrote:
Hello everyone!
I would like to know if the following alias renaming operation is atomic?
curl -XPOST 'http://localhost:9200/_aliases ' -d '
{
"actions" : [
{ "remove" : { "index" : "test1", "alias" : "alias1" } },
{ "add" : { "index" : "test1", "alias" : "alias2" } }
]
}'
I would to make sure that would not be a moment where no alias will be
available for test1 index at all?
Thanks,
Zaar
--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearch+unsubscribe@googlegroups.com .
For more options, visit https://groups.google.com/groups/opt_out .
--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com .
For more options, visit https://groups.google.com/groups/opt_out .