Skip to content

fix(privval): CV ignore duplicate privval listen when connected (backport #3830)#3896

Merged
mergify[bot] merged 2 commits intov0.38.xfrom
mergify/bp/v0.38.x/pr-3830
Aug 30, 2024
Merged

fix(privval): CV ignore duplicate privval listen when connected (backport #3830)#3896
mergify[bot] merged 2 commits intov0.38.xfrom
mergify/bp/v0.38.x/pr-3830

Conversation

@mergify
Copy link
Contributor

@mergify mergify bot commented Aug 29, 2024

Resolve #3828

On cometbft startup, duplicate privval request can enter the channel between the time listen begins and a send is attempted.

The duplicate listen request will timeout since there is not another signer connecting, filling logs with errors. A duplicate listen request is undesired.


PR checklist

  • Tests written/updated
  • Changelog entry added in .changelog (we use unclog to manage our changelog)
  • Updated relevant documentation (docs/ or spec/) and code comments

This is an automatic backport of pull request #3830 done by [Mergify](https://mergify.com).

Resolve #3828

On cometbft startup, duplicate privval request can enter the channel
between the time listen begins and a send is attempted.

The duplicate listen request will timeout since there is not another
signer connecting, filling logs with errors. A duplicate listen request
is undesired.

---

#### PR checklist

- [x] Tests written/updated
- [x] Changelog entry added in `.changelog` (we use
[unclog](https://github.com/informalsystems/unclog) to manage our
changelog)
- [ ] Updated relevant documentation (`docs/` or `spec/`) and code
comments

---------

Co-authored-by: Anton Kaliaev <anton.kalyaev@gmail.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: Daniel <daniel.cason@informal.systems>
(cherry picked from commit 5562f11)

# Conflicts:
#	.changelog/v0.38.3/bug-fixes/3828-privval-drop-duplicate-listen.md
@mergify mergify bot requested a review from a team as a code owner August 29, 2024 13:25
@mergify mergify bot added the conflicts label Aug 29, 2024
@mergify
Copy link
Contributor Author

mergify bot commented Aug 29, 2024

Cherry-pick of 5562f11 has failed:

On branch mergify/bp/v0.38.x/pr-3830
Your branch is up to date with 'origin/v0.38.x'.

You are currently cherry-picking commit 5562f11c2.
  (fix conflicts and run "git cherry-pick --continue")
  (use "git cherry-pick --skip" to skip this patch)
  (use "git cherry-pick --abort" to cancel the cherry-pick operation)

Changes to be committed:
	modified:   privval/signer_endpoint.go
	modified:   privval/signer_listener_endpoint.go
	modified:   privval/signer_listener_endpoint_test.go

Unmerged paths:
  (use "git add <file>..." to mark resolution)
	added by them:   .changelog/v0.38.3/bug-fixes/3828-privval-drop-duplicate-listen.md

To fix up this pull request, you can check it out locally. See documentation: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally

@melekes melekes removed the conflicts label Aug 30, 2024
@mergify mergify bot merged commit 221c744 into v0.38.x Aug 30, 2024
@mergify mergify bot deleted the mergify/bp/v0.38.x/pr-3830 branch August 30, 2024 07:51
mergify bot added a commit that referenced this pull request Aug 30, 2024
…port #3830) (#3896)

Resolve #3828

On cometbft startup, duplicate privval request can enter the channel
between the time listen begins and a send is attempted.

The duplicate listen request will timeout since there is not another
signer connecting, filling logs with errors. A duplicate listen request
is undesired.

---

#### PR checklist

- [x] Tests written/updated
- [x] Changelog entry added in `.changelog` (we use
[unclog](https://github.com/informalsystems/unclog) to manage our
changelog)
- [ ] Updated relevant documentation (`docs/` or `spec/`) and code
comments
<hr>This is an automatic backport of pull request #3830 done by
[Mergify](https://mergify.com).

---------

Co-authored-by: Chill Validation <92176880+chillyvee@users.noreply.github.com>
Co-authored-by: Anton Kaliaev <anton.kalyaev@gmail.com>
(cherry picked from commit 221c744)
mergify bot added a commit that referenced this pull request Aug 30, 2024
…port #3830) (backport #3896) (#3900)

Resolve #3828

On cometbft startup, duplicate privval request can enter the channel
between the time listen begins and a send is attempted.

The duplicate listen request will timeout since there is not another
signer connecting, filling logs with errors. A duplicate listen request
is undesired.

---

#### PR checklist

- [x] Tests written/updated
- [x] Changelog entry added in `.changelog` (we use
[unclog](https://github.com/informalsystems/unclog) to manage our
changelog)
- [ ] Updated relevant documentation (`docs/` or `spec/`) and code
comments
<hr>This is an automatic backport of pull request #3830 done by
[Mergify](https://mergify.com).<hr>This is an automatic backport of pull
request #3896 done by [Mergify](https://mergify.com).

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
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