pub fn segment_path(dir: &Path, segment_id: &str) -> Option<PathBuf>
定位段文件:优先 .jsonl.gz,回退 .jsonl(与写侧扩展名一致)。
.jsonl.gz
.jsonl