6.2 Elasticsearch-写入链路:Index → Refresh → Flush → Merge 源码走读
6.2 Elasticsearch-写入链路:Index → Refresh → Flush → Merge 源码走读Elasticsearch 的写入链路是一条“先写内存、再写事务日志、后刷盘、最终合并”的四级流水线。 整条链路由 Index → Refresh → Flush → Merge 四个阶段组成,对应内核代码里的四个关键服务: IndexS

