Fix failing tests on feature/desired-balance-allocator
branch
#86429
Labels
:Distributed Coordination/Allocation
All issues relating to the decision making around placing a shard (both master logic & on the nodes)
Team:Distributed (Obsolete)
Meta label for distributed team (obsolete). Replaced by Distributed Indexing/Coordination.
Uh oh!
There was an error while loading. Please reload this page.
Following tests are failing and need to be fixed before
DesiredBalanceShardsAllocator
could be merged to master.logger.debug("--> creating a new index [{}]", indexName);
)ALLOCATION_FAILED, failed shard on node [y0Jt0-QrSu29efTbYU8AdQ]: failed to create index, failure org.elasticsearch.index.mapper.MapperParsingException: simulate mapping parsing error
)ALLOCATION_FAILED, failed recovery, failure org.elasticsearch.indices.recovery.RecoveryFailedException
)Expected: <RED> but: was <YELLOW>
when creating index that could not be allocated)logger.info("Done Cluster Health, status {}", clusterHealth.getStatus());
, looks like it is more likely ~5% with-Dtests.seed=F9E8E5F50A9C9B21
)cluster.routing.allocation.node_initial_primaries_recoveries=0
prevents balance from converging)org.elasticsearch.action.admin.indices.shrink.TransportResizeAction
[NO(initial allocation of the shrunken index is only allowed on nodes [_id:"hg09_hMfS3uDUfv93xggmA"] that hold a copy of every shard in the index)]
)NO(initial allocation of the shrunken index is only allowed on nodes [_id:"eh7a8csCQzOwCePaFlw9xA"] that hold a copy of every shard in the index)
)NO(source primary is allocated on another node)
)NO(source primary is allocated on another node)
)NO(source primary is allocated on another node)
)HasFrozenCacheAllocationDecider
xpack.searchable.snapshot.shared_cache.size
is not yet reportedMoveAllocationCommand usage
MoveAllocationCommand
)MoveAllocationCommand
)not retrying shard allocation after an error
setWaitForNoRelocatingShards(true) should wait for desired balance to converge
setWaitForNoRelocatingShards(true)
is not waiting for a pending desired balance computation ~10% chance)Snapshot related tests
timed out waiting for green state
)4308 integration tests passed.
ESAllocationTestCase related unit test failures when using desired balance allocator
The text was updated successfully, but these errors were encountered: