()
| 863 | } |
| 864 | |
| 865 | func (b *batch) readyDeferredSort() { |
| 866 | if b == deletedChildBatchMarker { |
| 867 | return |
| 868 | } |
| 869 | |
| 870 | for _, childBatch := range b.childBatches { |
| 871 | childBatch.readyDeferredSort() |
| 872 | } |
| 873 | |
| 874 | b.segment.readyDeferredSort() |
| 875 | } |
| 876 | |
| 877 | // RequestSort() returns true if all child batches are sorted and |
| 878 | // false if sorting has been asynchronously scheduled. |