Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Preserve LastComputeSeqNum if 0 (#4775)
Only update LastComputeSeqNum if greater than 0, as zero can indicate either no messages processed yet or a connection that has just been established. This preserves the existing sequence number in those cases. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Enhanced node management with improved health monitoring and state persistence. - Added conditional logic to prevent overwriting sequence numbers with zero. - Improved handling of disconnected nodes to retain existing connection states. - **Bug Fixes** - Adjusted control flow and error handling for better robustness in node state updates. - **Documentation** - Added logging statements for improved visibility into state transitions and error conditions. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
- Loading branch information