pdb.Abort(ctx) causing write rollbacks #65
Labels
No Label
ussd/user-reported
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: grassrootseconomics/sarafu-vise#65
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
On go-vise
826c56de54/db/postgres/pg.go (L208C3-L208C17)
Once a key is not found on the store, the pdb.Abort(ctx) is called, which performs a transaction rollback
pdb.tx.Rollback(ctx)
This affects several parts of the menu, and here is a sample case
Clearance of the temporary value
main.vis
calls a function that clears the current temporary valueSteps
Log file for a newly registered user that accesses the invite recipient node
Possible fix
Removing this line resolves the issue from our tests
pdb.Abort(ctx)
826c56de54/db/postgres/pg.go (L208C3-L208C17)
The menu flow for this

Resolved by
8b84f59792