Closed craigtaverner closed 1 month ago
Pinging @elastic/es-core-infra (Team:Core/Infra)
Based on the git history and the kind of exception we are getting, I'm going to re-route this to DataManagement.
Pinging @elastic/es-data-management (Team:Data Management)
Maybe we just need an ensureGreen on the index before closing it?
1> [2024-06-21T07:19:44,789][INFO ][o.e.c.m.MetadataIndexStateService] [node_t0] closing indices [closed-index-nonwrite/xK7VO_JpRdCqUjh0IeLTjA]
1> [2024-06-21T07:19:44,929][INFO ][o.e.c.m.MetadataIndexStateService] [node_t0] completed closing of indices []
1> [2024-06-21T07:19:44,953][INFO ][o.e.a.a.i.r.RolloverIT ] [testRolloverWithClosedWriteIndex] [RolloverIT#testRolloverWithClosedWriteIndex]: cleaning up after test
1> [2024-06-21T07:19:44,980][INFO ][o.e.c.r.a.AllocationService] [node_t0] current.health="GREEN" message="Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[closed-index-nonwrite][7]]])." previous.health="YELLOW" reason="shards started [[closed-index-nonwrite][7]]"
We're issuing the request to close it. The server responds that no indices have been closed. Then shortly after the test fails, we get the log message that the index has gone green.
Did not reproduce locally, but has failed three times in the last four weeks, twice in the last two days.
Build scan: https://gradle-enterprise.elastic.co/s/72z6ko7hwx6os/tests/:server:internalClusterTest/org.elasticsearch.action.admin.indices.rollover.RolloverIT/testRolloverWithClosedWriteIndex
Reproduction line:
Applicable branches: main, 8.14
Reproduces locally?: No
Failure history: Failure dashboard for
org.elasticsearch.action.admin.indices.rollover.RolloverIT#testRolloverWithClosedWriteIndex
&_a=(controlGroupInput:(chainingSystem:HIERARCHICAL,controlStyle:twoLine,ignoreParentSettings:(ignoreFilters:!f,ignoreQuery:!f,ignoreTimerange:!f,ignoreValidations:!t),panels:('0c0c9cb8-ccd2-45c6-9b13-96bac4abc542':(explicitInput:(dataViewId:fbbdc689-be23-4b3d-8057-aa402e9ed0c5,enhancements:(),fieldName:task.keyword,grow:!t,id:'0c0c9cb8-ccd2-45c6-9b13-96bac4abc542',searchTechnique:wildcard,selectedOptions:!(),singleSelect:!t,title:'Gradle%20Task',width:medium),grow:!t,order:0,type:optionsListControl,width:small),'144933da-5c1b-4257-a969-7f43455a7901':(explicitInput:(dataViewId:fbbdc689-be23-4b3d-8057-aa402e9ed0c5,enhancements:(),fieldName:name.keyword,grow:!t,id:'144933da-5c1b-4257-a969-7f43455a7901',searchTechnique:wildcard,selectedOptions:!('testRolloverWithClosedWriteIndex'),title:Test,width:medium),grow:!t,order:2,type:optionsListControl,width:medium),'4e6ad9d6-6fdc-4fcc-bf1a-aa6ca79e0850':(explicitInput:(dataViewId:fbbdc689-be23-4b3d-8057-aa402e9ed0c5,enhancements:(),fieldName:className.keyword,grow:!t,id:'4e6ad9d6-6fdc-4fcc-bf1a-aa6ca79e0850',searchTechnique:wildcard,selectedOptions:!('org.elasticsearch.action.admin.indices.rollover.RolloverIT'),title:Suite,width:medium),grow:!t,order:1,type:optionsListControl,width:medium)))))Failure excerpt: