carloea2 opened a new issue, #8227:
URL: https://github.com/apache/texera/issues/8227

   ### Current behavior
   
   Re-registering an input channel for a different port replaces the 
channel-to-port mapping but never removes the channel from the previous port's 
channel set. Port-aligned control messages can then wait for a channel that no 
longer belongs to that port.
   
   Before: channel moves to a new port -> old port keeps stale membership -> 
port alignment can wait forever
   
   After: channel moves to a new port -> old membership is discarded -> both 
mapping directions agree
   
   ### Steps to reproduce
   
   Add two input ports, register one channel to the first port, and register 
the same channel to the second port.
   
   Observed on `70c21145887920528d7d5540e3fb790b43e8b759`:
   
   ```text
   mapped_port=1
   old_port_contains_channel=True
   new_port_contains_channel=True
   old_port_channel_count=1
   ```
   
   ### Expected behavior
   
   A channel reassigned to another port should be removed from the previous 
port's channel set.


-- 
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]

Reply via email to