Skip to content

Feat: implement result reporting for payloads buffer push - #5443

Merged
pfi79 merged 1 commit into
hyperledger:mainfrom
FirePheonix:fix-gossip-buffer-status
May 11, 2026
Merged

Feat: implement result reporting for payloads buffer push#5443
pfi79 merged 1 commit into
hyperledger:mainfrom
FirePheonix:fix-gossip-buffer-status

Conversation

@FirePheonix

@FirePheonix FirePheonix commented Apr 4, 2026

Copy link
Copy Markdown
Contributor
  • 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..

@pfi79
pfi79 merged commit 05c7c11 into hyperledger:main May 11, 2026
16 checks passed
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.

2 participants