Skip to content

lib/transaction: Don't SEGV in sync if a txn was failed#319

Closed
cgwalters wants to merge 1 commit intorpm-software-management:masterfrom
cgwalters:fix-segv-on-txn-error
Closed

lib/transaction: Don't SEGV in sync if a txn was failed#319
cgwalters wants to merge 1 commit intorpm-software-management:masterfrom
cgwalters:fix-segv-on-txn-error

Conversation

@cgwalters
Copy link
Copy Markdown
Contributor

I was actually testing a change to better handle rpm -e atomic on Fedora
Atomic Host, wondering why my patch was crashing, but in fact it was the
recently added sync code in master.

I was actually testing a change to better handle `rpm -e atomic` on Fedora
Atomic Host, wondering why my patch was crashing, but in fact it was the
recently added sync code in master.
@pmatilai
Copy link
Copy Markdown
Member

pmatilai commented Sep 8, 2017

Right, it shouldn't crash. But disabled disk-space checking silently disabling sync is wrong too.

@pmatilai
Copy link
Copy Markdown
Member

Fixed differently (cause instead of symptom) in commits 9e65d6e and 7481f0f: number of transaction elements was the wrong condition for syncing, sync should only be done if transaction actually ran. The second commit ensures syncing doesn't depend on diskspace problem filter (but forgot to mention that particular reason in the commit message, doh)

Anyway, thanks for pointing this out.

@pmatilai pmatilai closed this Sep 11, 2017
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