Failed to create index from local gateway


(Lukáš Vlček) #1

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


(Lukáš Vlček) #2

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


(Lukáš Vlček) #3

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):
https://github.com/elasticsearch/elasticsearch/issues/issue/513

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


(Lukáš Vlček) #4

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:
https://github.com/elasticsearch/elasticsearch/issues/issue/512
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):
https://github.com/elasticsearch/elasticsearch/issues/issue/513

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


(system) #5