SERVER-138779In Code Review
Give NoLimitSorter two swapping buffers for incremental spilling
Incremental spilling needs a buffer that keeps receiving keys while another buffer's sorted keys are written out at the collection scan's rate. {{NoLimitSorter}} keeps one buffer and writes everything at once when it exceeds {{maxMemoryUsageBytes}}. This gives {{NoLimitSorter}} two buffers that trade roles, each holding its unspilled entries and the pool its keys are allocated from; {{memPool()}} returns the filling buffer's pool, and memory accounting covers both. This is the structure only: n