python3-pysyncobj package stuck on jammy on primary raft re-election due to dead TCP

Bug #2055150 reported by Alex Lutay
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pysyncobj (Ubuntu)
Fix Released
Undecided
Lena Voytek
Jammy
In Progress
Undecided
Lena Voytek
Mantic
In Progress
Undecided
Lena Voytek
Noble
Fix Released
Undecided
Lena Voytek

Bug Description

Hi,

Data Team is experiencing a stability issue with PostgreSQL Primary lost due to lack of Raft Primary election (based on python3-pysyncobj 0.3.10 from Jammy).

The issue has been traced by upstream and fixed in 0.3.12 (available in Nobel):
https://github.com/bakwc/PySyncObj/issues/172
> #172 Added tcp keepalive - fixed bug when cluster was unable to select a new leader due to stuck tcp connection

It is a ticket to request Jammy library patchset version update 0.3.10->0.3.12 (prefered)
OR PPA/backport creation for Jammy.

P.S. Data Team reference: https://warthogs.atlassian.net/browse/DPE-3684
 PySyncObj release notes: https://github.com/bakwc/PySyncObj/releases

Alex Lutay (taurus)
description: updated
Lena Voytek (lvoytek)
no longer affects: ubuntu
Changed in pysyncobj (Ubuntu):
status: New → In Progress
assignee: nobody → Lena Voytek (lvoytek)
Changed in pysyncobj (Ubuntu Noble):
status: In Progress → Fix Released
Changed in pysyncobj (Ubuntu Mantic):
assignee: nobody → Lena Voytek (lvoytek)
Changed in pysyncobj (Ubuntu Jammy):
assignee: nobody → Lena Voytek (lvoytek)
status: New → In Progress
Changed in pysyncobj (Ubuntu Mantic):
status: New → In Progress
Revision history for this message
Lena Voytek (lvoytek) wrote :

Added 0.3.12 to the data platforms ppa for jammy. Here is a PPA containing the upstream tcp keepalive fix as a patch for mantic and jammy - https://launchpad.net/~lvoytek/+archive/ubuntu/pysynconj-tcp-keepalive
I can at least add this to the previous versions via an SRU if it fixes the issue.

Revision history for this message
Alex Lutay (taurus) wrote :

Thank you Lena, copy here the yesterday's discussion for the history:

The PR#172 might be not enough... https://github.com/bakwc/PySyncObj/pull/163 smells related as well.
We decided to go with version 0.3.12 as Jammy PPA https://launchpad.net/~data-platform/+archive/ubuntu/python-pysyncobj

Thank you for the quick build here!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.