Skip to content

Feat: implement result reporting for payloads buffer push#5443

Open
FirePheonix wants to merge 1 commit intohyperledger:mainfrom
FirePheonix:fix-gossip-buffer-status
Open

Feat: implement result reporting for payloads buffer push#5443
FirePheonix wants to merge 1 commit intohyperledger:mainfrom
FirePheonix:fix-gossip-buffer-status

Conversation

@FirePheonix
Copy link
Copy Markdown
Contributor

@FirePheonix FirePheonix commented Apr 4, 2026

  • Improvement (improvement to code, performance, etc)

Description

Currently, the Push method in the Gossip PayloadsBuffer returns nothing (a void).
This results in "silent drops" where payloads (blocks) are rejectedfor example, because they are duplicates or have outdated sequence numbers,without the caller or system operator being notified.

A TODO was left in the codebase suggesting that this should return a boolean to allow for better status reporting and logging.

This PR simply implements the suggested boolean return value for the Push operation to enhance the observability of the Gossip state transfer service.

@FirePheonix FirePheonix requested a review from a team as a code owner April 4, 2026 12:05
Signed-off-by: Shubham Singh <shubhsoch@gmail.com>
@FirePheonix FirePheonix force-pushed the fix-gossip-buffer-status branch from e7b69c7 to 0ca006b Compare April 4, 2026 12:23
@FirePheonix
Copy link
Copy Markdown
Contributor Author

@pfi79 could you please review this one too..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant