krishvishal opened a new pull request, #2855:
URL: https://github.com/apache/iggy/pull/2855
The previous code accessed planes through positional tuple indexing
(planes.0, planes.1.0), which was fragile and opaque. The new handle traits
give each plane a semantic name, making call sites self-documenting and won't
create problems when changes are made to plane ordering.
- Introduce MetadataHandle and PartitionsHandle traits that provide typed,
ergonomic accessors for the heterogeneous tuple planes inside
MuxPlane
- Implement these traits for the underlying tuple types (M, Tail) and (M,
(P, ())), and delegate through MuxPlane<T>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]