-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Query Execution
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Follow-up to SERVER-138036. I'd wait on this until after some of the stage callsites are in.
- Return size_t offsets from CompactStateLayout::add<T>(), remove CompactStatePosition<T>, and store an offset in TypedCompactHashAggAccumulator<State>.
- Removing the wrapper also removes its value_type alias and moves or replaces its _asValue() helper. This supersedes those parts of the existing cleanup in a new change; do not rewrite the prior commit.
- Centralize mutable/const typed access and raw-pointer conversion; move construction/destruction callbacks into the layout while preserving the distinction between raw storage and live objects.
- Retain the private lifecycle API and table-owned immutable layout; do not change aggregation semantics, state sizes, or add per-group overhead.
- Test nonzero-offset mutable/const access and mixed $sum/$push buffers in both registration orders; preserve alignment, exception-cleanup, and stage lifecycle coverage.
- is related to
-
SERVER-138036 Add a state table for compact hash agg accumulator states
-
- Closed
-