Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "run peerMgrPeerStats in session thread" (#5992) #6766

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Coeur
Copy link
Collaborator

@Coeur Coeur commented Apr 2, 2024

Fix: #6762

@Coeur Coeur requested review from tearfur and ckerr April 2, 2024 20:56
@Coeur Coeur added the type:fix A bug fix label Apr 2, 2024
@Coeur Coeur added this to the 4.1.0 milestone Apr 2, 2024
@ckerr ckerr added the notes:none Should not be listed in release notes label Apr 2, 2024
@ckerr
Copy link
Member

ckerr commented Apr 2, 2024

@Coeur asking because of your description: does this actually fix 6762?

I might be wrong but I think the race condition is there either way & that reverting 5992 just resets so that we can try another fix?

@Coeur
Copy link
Collaborator Author

Coeur commented Apr 2, 2024

6762 is describing performance regressions. That's what this revert is about: attempting to return to previous performances.

@dantearmok am I correctly interpreting your primary issue?

@tearfur
Copy link
Member

tearfur commented Apr 2, 2024

Isn't it a crash report...?

Edit: Oh I see where the performance part is. Nonetheless, it is also a crash report.

@Coeur Coeur self-assigned this Apr 27, 2024
@Coeur Coeur marked this pull request as draft April 27, 2024 05:58
@Coeur
Copy link
Collaborator Author

Coeur commented Apr 27, 2024

In the absence of feedback from @dantearmok, I'm de-prioritizing this change. I'll instead look into the TODO: re-implement as a callback solution, but that may take months.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
notes:none Should not be listed in release notes type:fix A bug fix
Development

Successfully merging this pull request may close these issues.

race condition in tr_torrentPeers()
3 participants