Datastax 5.0.3 Solr节点在启动时卡住SecondaryIndexManagement



当我尝试重新启动datastax solr节点时,它没有启动。没有负载,没有磁盘io。当我运行nodeool tpstats时,我看到二级索引管理任务挂起。我还检查了solr http api中的solr内核。我看到我的一些核心缺失了。有人能帮帮我吗?

<>之前池名称Active Pending Completed Blocked所有阻塞时间MutationStage 0 0 430 0 0ViewMutationStage 0 0 0 0 0 0ReadStage 0 0 65 0 0RequestResponseStage 0 0 268 0 0ReadRepairStage 0 0 5 0 0CounterMutationStage 0 0 0 0 0 0MiscStage 0 0 0 0 0 0CompactionExecutor 0 0 157 0 0MemtableReclaimMemory 0 0 49 0 0pendinggrangecalculator 0 0 36 0 0流言阶段0 0 19440 0 0SecondaryIndexManagement 1 3 6 0 0HintsDispatcher 0 0 0 0 0 0MigrationStage 0 0 0 0 0 0MemtablePostFlush 0 0 49 0 0ValidationExecutor 0 0 0 0 0 0采样器0 0 0 0 0MemtableFlushWriter 0 0 49 0 0InternalResponseStage 0 0 0 0 0 0AntiEntropyStage 0 0 0 0 0 0CacheCleanupExecutor 0 0 0 0 0 0消息类型已丢弃读 0RANGE_SLICE 0_TRACE 0提示 0突变 0COUNTER_MUTATION 0BATCH_STORE 0BATCH_REMOVE 0REQUEST_RESPONSE 0PAGED_RANGE 0READ_REPAIR 0

检查所有主机的cassandra日志文件,看看它们在说什么

在引导或重建(取决于如何将其引入集群)之后,节点花一些时间进行二次索引构建是很常见的。

二级索引不需要在正常重启时完全重建。

它确实依赖于很多东西,比如模式、数据大小以及底层操作系统资源。您可以通过OpsCenter或使用tpstatscompactionstatsnodetool命令查看索引重建。

部分文档链接:

https://docs.datastax.com/en/cassandra/3.0/cassandra/tools/toolsTPstats.html

https://docs.datastax.com/en/cassandra/3.0/cassandra/tools/toolsCompactionStats.html

最新更新