This is an automated email from the ASF dual-hosted git repository. hanahmily pushed a commit to branch sidx/write in repository https://gitbox.apache.org/repos/asf/skywalking-banyandb.git
commit a53bfd9dc3e6608bab007843f0c6221265a64236 Author: Gao Hongtao <hanahm...@gmail.com> AuthorDate: Wed Aug 20 21:29:52 2025 +0700 Update TODO.md to reflect completion of element sorting tasks --- banyand/internal/sidx/TODO.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/banyand/internal/sidx/TODO.md b/banyand/internal/sidx/TODO.md index e5e87d42..d064db43 100644 --- a/banyand/internal/sidx/TODO.md +++ b/banyand/internal/sidx/TODO.md @@ -227,15 +227,15 @@ This document tracks the implementation progress of the Secondary Index File Sys - [x] Data integrity after compression/decompression - [x] Block writer reuse and pooling -### 4.3 Element Sorting (`elements.go`) -- [ ] Sort by seriesID first, then userKey -- [ ] Efficient in-place sorting algorithms -- [ ] Validation of sort order -- [ ] **Test Cases**: - - [ ] Sorting correctness with various data sizes - - [ ] Sorting stability preserves order of equal elements - - [ ] Performance benchmarks for large datasets - - [ ] Edge cases (empty, single element, duplicate keys) +### 4.3 Element Sorting (`elements.go`) ✅ +- [x] Sort by seriesID first, then userKey +- [x] Efficient in-place sorting algorithms +- [x] Validation of sort order +- [x] **Test Cases**: + - [x] Sorting correctness with various data sizes + - [x] Sorting stability preserves order of equal elements + - [x] Performance benchmarks for large datasets + - [x] Edge cases (empty, single element, duplicate keys) ### 4.4 Block Initialization (`block.go` methods) 🔥 - DESIGN COMPLETED ✅ - [ ] **Complete block initialization design added to DESIGN.md**