Hi there,
Here is my case.
-
I start a fresh node 0.18.7 under windows with multicast=false and
cluster.name set to BANACO_DEV_DPILATO -
I define some index, alias and mappings.
-
I index in Java 373 documents.
-
I search for it using a TransportClient. I get back 373 documents.
I look at the data dir : 68 folders, 243 files, 907 Kb used
-
I stop the ES node
I look at the data dir : 68 folders, 102 files, 552 Kb used -
I start again the ES node
I search again for documents : 0 document exists Look at the data dir : 68
folders, 123 files, 3.39 Kb used
Using Mobz, I can see that my indexes, alias and mappings still exists.
But documents are not here anymore !
To kill the node, I use CTRL+C (or close command) in my Windows command
box.
It was working fine in 0.17.10. I didn't test in 0.18. previous version.
What can I do to find the issue ? Any trace to activate ?
Here are the logs :
First start of the node
[2012-02-09 16:23:29,482][WARN ][bootstrap ] jvm uses the client vm, make
sure to run java
with the server vm for best performance by adding
-server
to the command line
[2012-02-09 16:23:29,497][INFO ][node ] [Spirit of '76] {0.18.7}[20144]:
initializing ...
[2012-02-09 16:23:29,513][INFO ][plugins ] [Spirit of '76] loaded
[mapper-attachments], sites []
[2012-02-09 16:23:31,763][INFO ][node ] [Spirit of '76] {0.18.7}[20144]:
initialized
[2012-02-09 16:23:31,763][INFO ][node ] [Spirit of '76] {0.18.7}[20144]:
starting ...
[2012-02-09 16:23:31,888][INFO ][transport ] [Spirit of '76] bound_address
{inet[/0.0.0.0:9300]}, publish_address {inet[/10.115.1.55:9300]}
[2012-02-09 16:23:34,981][INFO ][cluster.service ] [Spirit of '76]
new_master [Spirit of
'76][cmTmj1OfRa-O-pIrL4ddjg][inet[/10.115.1.55:9300]], reason:
zen-disco-join (elected_as_master)
[2012-02-09 16:23:35,044][INFO ][discovery ] [Spirit of '76]
BANACO_DEV_DPILATO/cmTmj1OfRa-O-pIrL4ddjg
[2012-02-09 16:23:35,153][INFO ][http ] [Spirit of '76] bound_address
{inet[/0.0.0.0:9200]}, publish_address {inet[/10.115.1.55:9200]}
[2012-02-09 16:23:35,169][INFO ][node ] [Spirit of '76] {0.18.7}[20144]:
started
[2012-02-09 16:23:35,622][INFO ][gateway ] [Spirit of '76] recovered [4]
indices into cluster_state
First stop of the node
[2012-02-09 16:27:57,439][INFO ][node ] [Spirit of '76] {0.18.7}[20144]:
stopping ...
[2012-02-09 16:27:57,564][INFO ][node ] [Spirit of '76] {0.18.7}[20144]:
stopped
[2012-02-09 16:27:57,564][INFO ][node ] [Spirit of '76] {0.18.7}[20144]:
closing ...
[2012-02-09 16:27:57,564][INFO ][node ] [Spirit of '76] {0.18.7}[20144]:
closed
Second start of the node
[2012-02-09 16:29:04,260][WARN ][bootstrap ] jvm uses the client vm, make
sure to run java
with the server vm for best performance by adding
-server
to the command line
[2012-02-09 16:29:04,276][INFO ][node ] [Hairbag] {0.18.7}[17148]:
initializing ...
[2012-02-09 16:29:04,291][INFO ][plugins ] [Hairbag] loaded
[mapper-attachments], sites []
[2012-02-09 16:29:06,447][INFO ][node ] [Hairbag] {0.18.7}[17148]:
initialized
[2012-02-09 16:29:06,447][INFO ][node ] [Hairbag] {0.18.7}[17148]: starting
...
[2012-02-09 16:29:06,603][INFO ][transport ] [Hairbag] bound_address
{inet[/0.0.0.0:9300]}, publish_address {inet[/10.115.1.55:9300]}
[2012-02-09 16:29:09,681][INFO ][cluster.service ] [Hairbag] new_master
[Hairbag][43JnSF1SRiW3yPINWcFZFg][inet[/10.115.1.55:9300]], reason:
zen-disco-join (elected_as_master)
[2012-02-09 16:29:09,712][INFO ][discovery ] [Hairbag]
BANACO_DEV_DPILATO/43JnSF1SRiW3yPINWcFZFg
[2012-02-09 16:29:09,806][INFO ][http ] [Hairbag] bound_address
{inet[/0.0.0.0:9200]}, publish_address {inet[/10.115.1.55:9200]}
[2012-02-09 16:29:09,806][INFO ][node ] [Hairbag] {0.18.7}[17148]: started
[2012-02-09 16:29:10,291][INFO ][gateway ] [Hairbag] recovered [4] indices
into cluster_state
Thanks for your advice
--
David Pilato
http://dev.david.pilato.fr/
Twitter : @dadoonet