()
| 892 | } |
| 893 | |
| 894 | func (b *batch) doSort() { |
| 895 | if b == deletedChildBatchMarker { |
| 896 | return |
| 897 | } |
| 898 | |
| 899 | b.segment.doSort() |
| 900 | |
| 901 | for _, childBatch := range b.childBatches { |
| 902 | childBatch.doSort() |
| 903 | } |
| 904 | } |
| 905 | |
| 906 | func (b *batch) isEmpty() bool { |
| 907 | if len(b.childBatches) != 0 { |