Failed to create index from local gateway

Hi,

I noticed interesting issue today. Not sure if I have the latest master but
it is not older then one day.

I created few indices in cluster, then I shut down the cluster and started
again. During startup I got the following ERROR message in log:

[ERROR][gateway.local ] [Drake, Frank] failed to create index
[testindex]

I shutdown the cluster and started again, this time I did not get this error
but the index was not recognized and created at all. It is simply missing in
cluster status. The index data is still present in /data folder but if I
check the _state folder there are two files: metadata-xx and shards-yy. The
[testindex] is still referenced in shards-yy but not in metadata-xx.

Not sure what went wrong (did not have a DEBUG logging level turned on) but
one of the other indices have alias [testindex]. So there is an index A and
index B having alias A, can this be a problem?

Regards,
Lukas

I created issue for this (tested with master):

On Sat, Nov 13, 2010 at 10:54 AM, Lukáš Vlček lukas.vlcek@gmail.com wrote:

Hi,

I noticed interesting issue today. Not sure if I have the latest master but
it is not older then one day.

I created few indices in cluster, then I shut down the cluster and started
again. During startup I got the following ERROR message in log:

[ERROR][gateway.local ] [Drake, Frank] failed to create index
[testindex]

I shutdown the cluster and started again, this time I did not get this
error but the index was not recognized and created at all. It is simply
missing in cluster status. The index data is still present in /data folder
but if I check the _state folder there are two files: metadata-xx and
shards-yy. The [testindex] is still referenced in shards-yy but not in
metadata-xx.

Not sure what went wrong (did not have a DEBUG logging level turned on) but
one of the other indices have alias [testindex]. So there is an index A and
index B having alias A, can this be a problem?

Regards,
Lukas

Sorry for creating the ticket twice:

https://github.com/elasticsearch/elasticsearch/issues/issue/512The
network is really weak here this morning. Feel free to kill one of these
tickets.

On Sat, Nov 13, 2010 at 12:11 PM, Lukáš Vlček lukas.vlcek@gmail.com wrote:

I created issue for this (tested with master):
Fail to create index when alias on other index · Issue #513 · elastic/elasticsearch · GitHub

On Sat, Nov 13, 2010 at 10:54 AM, Lukáš Vlček lukas.vlcek@gmail.comwrote:

Hi,

I noticed interesting issue today. Not sure if I have the latest master
but it is not older then one day.

I created few indices in cluster, then I shut down the cluster and started
again. During startup I got the following ERROR message in log:

[ERROR][gateway.local ] [Drake, Frank] failed to create index
[testindex]

I shutdown the cluster and started again, this time I did not get this
error but the index was not recognized and created at all. It is simply
missing in cluster status. The index data is still present in /data folder
but if I check the _state folder there are two files: metadata-xx and
shards-yy. The [testindex] is still referenced in shards-yy but not in
metadata-xx.

Not sure what went wrong (did not have a DEBUG logging level turned on)
but one of the other indices have alias [testindex]. So there is an index A
and index B having alias A, can this be a problem?

Regards,
Lukas

I closed #513. Sorry for the confusion.

On Sat, Nov 13, 2010 at 12:15 PM, Lukáš Vlček lukas.vlcek@gmail.com wrote:

Sorry for creating the ticket twice:
Fail to create index when alias on other index · Issue #512 · elastic/elasticsearch · GitHub
https://github.com/elasticsearch/elasticsearch/issues/issue/512The
network is really weak here this morning. Feel free to kill one of these
tickets.

On Sat, Nov 13, 2010 at 12:11 PM, Lukáš Vlček lukas.vlcek@gmail.comwrote:

I created issue for this (tested with master):
Fail to create index when alias on other index · Issue #513 · elastic/elasticsearch · GitHub

On Sat, Nov 13, 2010 at 10:54 AM, Lukáš Vlček lukas.vlcek@gmail.comwrote:

Hi,

I noticed interesting issue today. Not sure if I have the latest master
but it is not older then one day.

I created few indices in cluster, then I shut down the cluster and
started again. During startup I got the following ERROR message in log:

[ERROR][gateway.local ] [Drake, Frank] failed to create index
[testindex]

I shutdown the cluster and started again, this time I did not get this
error but the index was not recognized and created at all. It is simply
missing in cluster status. The index data is still present in /data folder
but if I check the _state folder there are two files: metadata-xx and
shards-yy. The [testindex] is still referenced in shards-yy but not in
metadata-xx.

Not sure what went wrong (did not have a DEBUG logging level turned on)
but one of the other indices have alias [testindex]. So there is an index A
and index B having alias A, can this be a problem?

Regards,
Lukas