Thanks for the suggestion.
It seems that force merge doesn't change the situation. Again, I think I see 2 lucene versions due to the Lucene80_0
and Lucene84_0
parts in the filenames, I am not sure if this is indeed the case.
The index I was looking at was closed.
$ curl -s 'localhost:9200/_cat/indices?v' | grep Y9VTS1sgThK6Jicvt8_Z2A
green close foo.boo-2020 Y9VTS1sgThK6Jicvt8_Z2A 1 1
$ curl -s 'localhost:9200/_cat/shards?' | grep foo.boo-2020
foo.boo-2020 0 p STARTED 11171420 1.7gb 10.40.22.115 ip-10-40-22-115
foo.boo-2020 0 r STARTED 11171420 1.7gb 10.40.21.165 ip-10-40-21-165
The initial state with I think is 2 lucene versions
ip-10-40-21-165 $ ls -al /mnt/elasticsearch_*/nodes/0/indices/Y9VTS1sgThK6Jicvt8_Z2A/0/index/*Lucene*
-rw-r--r-- 1 elasticsearch elasticsearch 43429780 May 12 05:37 /mnt/elasticsearch_1/nodes/0/indices/Y9VTS1sgThK6Jicvt8_Z2A/0/index/_2l_Lucene80_0.dvd
-rw-r--r-- 1 elasticsearch elasticsearch 2151 May 12 05:37 /mnt/elasticsearch_1/nodes/0/indices/Y9VTS1sgThK6Jicvt8_Z2A/0/index/_2l_Lucene80_0.dvm
-rw-r--r-- 1 elasticsearch elasticsearch 24150842 May 12 05:37 /mnt/elasticsearch_1/nodes/0/indices/Y9VTS1sgThK6Jicvt8_Z2A/0/index/_2l_Lucene84_0.doc
-rw-r--r-- 1 elasticsearch elasticsearch 658361 May 12 05:37 /mnt/elasticsearch_1/nodes/0/indices/Y9VTS1sgThK6Jicvt8_Z2A/0/index/_2l_Lucene84_0.pos
-rw-r--r-- 1 elasticsearch elasticsearch 38382222 May 12 05:37 /mnt/elasticsearch_1/nodes/0/indices/Y9VTS1sgThK6Jicvt8_Z2A/0/index/_2l_Lucene84_0.tim
-rw-r--r-- 1 elasticsearch elasticsearch 700546 May 12 05:37 /mnt/elasticsearch_1/nodes/0/indices/Y9VTS1sgThK6Jicvt8_Z2A/0/index/_2l_Lucene84_0.tip
-rw-r--r-- 1 elasticsearch elasticsearch 40424293 May 12 05:37 /mnt/elasticsearch_1/nodes/0/indices/Y9VTS1sgThK6Jicvt8_Z2A/0/index/_41_Lucene80_0.dvd
-rw-r--r-- 1 elasticsearch elasticsearch 2151 May 12 05:37 /mnt/elasticsearch_1/nodes/0/indices/Y9VTS1sgThK6Jicvt8_Z2A/0/index/_41_Lucene80_0.dvm
-rw-r--r-- 1 elasticsearch elasticsearch 22987332 May 12 05:37 /mnt/elasticsearch_1/nodes/0/indices/Y9VTS1sgThK6Jicvt8_Z2A/0/index/_41_Lucene84_0.doc
-rw-r--r-- 1 elasticsearch elasticsearch 622078 May 12 05:37 /mnt/elasticsearch_1/nodes/0/indices/Y9VTS1sgThK6Jicvt8_Z2A/0/index/_41_Lucene84_0.pos
-rw-r--r-- 1 elasticsearch elasticsearch 36119317 May 12 05:37 /mnt/elasticsearch_1/nodes/0/indices/Y9VTS1sgThK6Jicvt8_Z2A/0/index/_41_Lucene84_0.tim
-rw-r--r-- 1 elasticsearch elasticsearch 584489 May 12 05:37 /mnt/elasticsearch_1/nodes/0/indices/Y9VTS1sgThK6Jicvt8_Z2A/0/index/_41_Lucene84_0.tip
ip-10-40-22-115 $ ls -al /mnt/elasticsearch_*/nodes/0/indices/Y9VTS1sgThK6Jicvt8_Z2A/0/index/*Lucene*
-rw-r--r-- 1 elasticsearch elasticsearch 43429780 Nov 29 2021 /mnt/elasticsearch_0/nodes/0/indices/Y9VTS1sgThK6Jicvt8_Z2A/0/index/_2l_Lucene80_0.dvd
-rw-r--r-- 1 elasticsearch elasticsearch 2151 Nov 29 2021 /mnt/elasticsearch_0/nodes/0/indices/Y9VTS1sgThK6Jicvt8_Z2A/0/index/_2l_Lucene80_0.dvm
-rw-r--r-- 1 elasticsearch elasticsearch 24150842 Nov 29 2021 /mnt/elasticsearch_0/nodes/0/indices/Y9VTS1sgThK6Jicvt8_Z2A/0/index/_2l_Lucene84_0.doc
-rw-r--r-- 1 elasticsearch elasticsearch 658361 Nov 29 2021 /mnt/elasticsearch_0/nodes/0/indices/Y9VTS1sgThK6Jicvt8_Z2A/0/index/_2l_Lucene84_0.pos
-rw-r--r-- 1 elasticsearch elasticsearch 38382222 Nov 29 2021 /mnt/elasticsearch_0/nodes/0/indices/Y9VTS1sgThK6Jicvt8_Z2A/0/index/_2l_Lucene84_0.tim
-rw-r--r-- 1 elasticsearch elasticsearch 700546 Nov 29 2021 /mnt/elasticsearch_0/nodes/0/indices/Y9VTS1sgThK6Jicvt8_Z2A/0/index/_2l_Lucene84_0.tip
-rw-r--r-- 1 elasticsearch elasticsearch 40424293 Nov 29 2021 /mnt/elasticsearch_0/nodes/0/indices/Y9VTS1sgThK6Jicvt8_Z2A/0/index/_41_Lucene80_0.dvd
-rw-r--r-- 1 elasticsearch elasticsearch 2151 Nov 29 2021 /mnt/elasticsearch_0/nodes/0/indices/Y9VTS1sgThK6Jicvt8_Z2A/0/index/_41_Lucene80_0.dvm
-rw-r--r-- 1 elasticsearch elasticsearch 22987332 Nov 29 2021 /mnt/elasticsearch_0/nodes/0/indices/Y9VTS1sgThK6Jicvt8_Z2A/0/index/_41_Lucene84_0.doc
-rw-r--r-- 1 elasticsearch elasticsearch 622078 Nov 29 2021 /mnt/elasticsearch_0/nodes/0/indices/Y9VTS1sgThK6Jicvt8_Z2A/0/index/_41_Lucene84_0.pos
-rw-r--r-- 1 elasticsearch elasticsearch 36119317 Nov 29 2021 /mnt/elasticsearch_0/nodes/0/indices/Y9VTS1sgThK6Jicvt8_Z2A/0/index/_41_Lucene84_0.tim
-rw-r--r-- 1 elasticsearch elasticsearch 584489 Nov 29 2021 /mnt/elasticsearch_0/nodes/0/indices/Y9VTS1sgThK6Jicvt8_Z2A/0/index/_41_Lucene84_0.tip
I open the index
$ curl -X POST "localhost:9200/foo.boo-2020/_open?pretty"
{
"acknowledged" : true,
"shards_acknowledged" : true
}
Then force merge it
$ curl -X POST "localhost:9200/foo.boo-2020/_forcemerge?pretty"
{
"_shards" : {
"total" : 2,
"successful" : 2,
"failed" : 0
}
}
just dumping the setting in case it helps
$ curl "localhost:9200/foo.boo-2020/_settings?pretty"
{
"foo.boo-2020" : {
"settings" : {
"index" : {
"lifecycle" : {
"name" : "keep_forever_move_old"
},
"routing" : {
"allocation" : {
"include" : {
"_tier_preference" : "data_warm,data_hot"
}
}
},
"number_of_shards" : "1",
"provided_name" : "foo.boo-2020",
"creation_date" : "1594598415497",
"unassigned" : {
"node_left" : {
"delayed_timeout" : "15m"
}
},
"number_of_replicas" : "1",
"uuid" : "Y9VTS1sgThK6Jicvt8_Z2A",
"version" : {
"created" : "7070199",
"upgraded" : "7100199"
}
}
}
}
}
no change at all
ip-10-40-22-115 $ ls -al /mnt/elasticsearch_*/nodes/0/indices/Y9VTS1sgThK6Jicvt8_Z2A/0/index/*Lucene*
-rw-r--r-- 1 elasticsearch elasticsearch 38382222 Nov 29 2021 /mnt/elasticsearch_0/nodes/0/indices/Y9VTS1sgThK6Jicvt8_Z2A/0/index/_2l_Lucene84_0.tim
-rw-r--r-- 1 elasticsearch elasticsearch 700546 Nov 29 2021 /mnt/elasticsearch_0/nodes/0/indices/Y9VTS1sgThK6Jicvt8_Z2A/0/index/_2l_Lucene84_0.tip
-rw-r--r-- 1 elasticsearch elasticsearch 40424293 Nov 29 2021 /mnt/elasticsearch_0/nodes/0/indices/Y9VTS1sgThK6Jicvt8_Z2A/0/index/_41_Lucene80_0.dvd
-rw-r--r-- 1 elasticsearch elasticsearch 2151 Nov 29 2021 /mnt/elasticsearch_0/nodes/0/indices/Y9VTS1sgThK6Jicvt8_Z2A/0/index/_41_Lucene80_0.dvm
-rw-r--r-- 1 elasticsearch elasticsearch 22987332 Nov 29 2021 /mnt/elasticsearch_0/nodes/0/indices/Y9VTS1sgThK6Jicvt8_Z2A/0/index/_41_Lucene84_0.doc
-rw-r--r-- 1 elasticsearch elasticsearch 622078 Nov 29 2021 /mnt/elasticsearch_0/nodes/0/indices/Y9VTS1sgThK6Jicvt8_Z2A/0/index/_41_Lucene84_0.pos
-rw-r--r-- 1 elasticsearch elasticsearch 36119317 Nov 29 2021 /mnt/elasticsearch_0/nodes/0/indices/Y9VTS1sgThK6Jicvt8_Z2A/0/index/_41_Lucene84_0.tim
-rw-r--r-- 1 elasticsearch elasticsearch 584489 Nov 29 2021 /mnt/elasticsearch_0/nodes/0/indices/Y9VTS1sgThK6Jicvt8_Z2A/0/index/_41_Lucene84_0.tip
ip-10-40-21-165 $ ls -al /mnt/elasticsearch_*/nodes/0/indices/Y9VTS1sgThK6Jicvt8_Z2A/0/index/*Lucene*
-rw-r--r-- 1 elasticsearch elasticsearch 43429780 May 12 05:37 /mnt/elasticsearch_1/nodes/0/indices/Y9VTS1sgThK6Jicvt8_Z2A/0/index/_2l_Lucene80_0.dvd
-rw-r--r-- 1 elasticsearch elasticsearch 2151 May 12 05:37 /mnt/elasticsearch_1/nodes/0/indices/Y9VTS1sgThK6Jicvt8_Z2A/0/index/_2l_Lucene80_0.dvm
-rw-r--r-- 1 elasticsearch elasticsearch 24150842 May 12 05:37 /mnt/elasticsearch_1/nodes/0/indices/Y9VTS1sgThK6Jicvt8_Z2A/0/index/_2l_Lucene84_0.doc
-rw-r--r-- 1 elasticsearch elasticsearch 658361 May 12 05:37 /mnt/elasticsearch_1/nodes/0/indices/Y9VTS1sgThK6Jicvt8_Z2A/0/index/_2l_Lucene84_0.pos
-rw-r--r-- 1 elasticsearch elasticsearch 38382222 May 12 05:37 /mnt/elasticsearch_1/nodes/0/indices/Y9VTS1sgThK6Jicvt8_Z2A/0/index/_2l_Lucene84_0.tim
-rw-r--r-- 1 elasticsearch elasticsearch 700546 May 12 05:37 /mnt/elasticsearch_1/nodes/0/indices/Y9VTS1sgThK6Jicvt8_Z2A/0/index/_2l_Lucene84_0.tip
-rw-r--r-- 1 elasticsearch elasticsearch 40424293 May 12 05:37 /mnt/elasticsearch_1/nodes/0/indices/Y9VTS1sgThK6Jicvt8_Z2A/0/index/_41_Lucene80_0.dvd
-rw-r--r-- 1 elasticsearch elasticsearch 2151 May 12 05:37 /mnt/elasticsearch_1/nodes/0/indices/Y9VTS1sgThK6Jicvt8_Z2A/0/index/_41_Lucene80_0.dvm
-rw-r--r-- 1 elasticsearch elasticsearch 22987332 May 12 05:37 /mnt/elasticsearch_1/nodes/0/indices/Y9VTS1sgThK6Jicvt8_Z2A/0/index/_41_Lucene84_0.doc
-rw-r--r-- 1 elasticsearch elasticsearch 622078 May 12 05:37 /mnt/elasticsearch_1/nodes/0/indices/Y9VTS1sgThK6Jicvt8_Z2A/0/index/_41_Lucene84_0.pos
-rw-r--r-- 1 elasticsearch elasticsearch 36119317 May 12 05:37 /mnt/elasticsearch_1/nodes/0/indices/Y9VTS1sgThK6Jicvt8_Z2A/0/index/_41_Lucene84_0.tim
-rw-r--r-- 1 elasticsearch elasticsearch 584489 May 12 05:37 /mnt/elasticsearch_1/nodes/0/indices/Y9VTS1sgThK6Jicvt8_Z2A/0/index/_41_Lucene84_0.tip