gpdb
gpdb copied to clipboard
Refactor interconnect structs ChunkTransportState{Entry}
We noticed that there were a lot of fields in the structs ChunkTransportState and ChunkTransportStateEntry that were only used by a specific interconnect type. So, we sought to specialize the structs to fit the interconnect type, pushing interconnect-specific fields to sub-structs.
Co-authored-by: Soumyadeep Chakraborty [email protected]
This is ready for review. Refactoring the MotionConn can be done as a separate PR.
@soumyadeep2007 Just a reminder, the PR hits some conflicts.
@soumyadeep2007 what's your take on this PR, still something we should commit? wish to bring it to commit state? abandon and close it out? or keep it around for some more time just to see?
This has rotted quite a bit and I imagine there were changes made when introducing IC proxy. But I think it is valuable and I can attempt to bring it to a committable state.
Closing for now. Will revisit in the future, when I have cycles.