ElasticSearch 源码分析六 服务端 批量索引(2)

调用TransportShardBulkAction的execute方法执行索引操作 1.调用executeIndexRequestOnPrimary,在主分片上面进行索引 2.继续调用primary.applyIndexOperationOnPrimary执行写主分片 3.调用applyIndexOperation执行写索引     3.1 校验写的版本号version     3.2 校验当前
相关文章
相关标签/搜索