View Issue Details

IDProjectCategoryView StatusLast Update
0007551Talerwallet-corepublic2024-03-07 19:49
ReporterFlorian Dold Assigned ToFlorian Dold Resolution deadline
ImplementerReviewer 
Release signed byDeployed by 
VerifierCommunicator 
Data protection authority notification requiredNo  
CSIRT notification requiredNo  
Estimated effort (hours)Actual effort (hours)0 
Fast-trackNo
Work packagenone
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Product Versiongit (master) 
Target Version0.9.4Fixed in Version0.9.4 
Summary0007551: need test(s) to ensure that wallet DB schema is backwards-compatible or properly migrated
DescriptionRight now, it's too easy to introduce breaking changes without noticing.
TagsNo tags attached.

Required notifications

Address or linkRemarkAdded byNotifiedActions

Relationships

child of 0008244 closedFlorian Dold final 0.9.4 release acceptance checks 

Activities

Florian Dold

2023-07-24 08:52

manager   ~0020365

Before we can meaningfully add tests here, I want to make some (backwards-compatible) adjustments to the DB value serialization format ("structured serialization for storage"). This will be done as part of the sqlite3 DB backend work.

Florian Dold

2023-08-25 12:19

manager   ~0020443

Sqlite3 backend is now done and merged, but I still want to do some changes to the DB that'll simplify some code (unify status code ranges for operations, always use same currency format, coin selection data structure, ...).

Florian Dold

2024-01-24 16:42

manager   ~0021032

We now have a tool to generate a database and a bunch of data around it (taler-harness advanced wallet-dbgen $outdir).

Now what's missing is the corresponding tool to re-import the DB and check against the data (wallet-transactions.json, wallet-balances.json, ...).

Florian Dold

2024-01-29 11:51

manager   ~0021070

Implemented in wallet-core.git.

The migration tests are run as part of "make check-migration".
Old DB files are in a separate git submodule (wallet-testdata.git).

Issue History

Date ModifiedUsernameFieldChange
2023-01-05 16:23Florian DoldNew Issue
2023-01-05 16:23Florian DoldStatusnew => assigned
2023-01-05 16:23Florian DoldAssigned To => Florian Dold
2023-02-17 16:51Florian DoldTarget Version0.9.2 => 0.9.3
2023-04-13 18:36Florian DoldCategorywallet (TS core) => wallet-core
2023-07-24 08:52Florian DoldNote Added: 0020365
2023-08-25 12:19Florian DoldNote Added: 0020443
2023-09-23 13:03Christian GrothoffTarget Version0.9.3 => 0.9.4
2024-01-24 16:42Florian DoldNote Added: 0021032
2024-01-27 00:10Christian GrothoffRelationship addedchild of 0008244
2024-01-29 11:51Florian DoldStatusassigned => informing
2024-01-29 11:51Florian DoldResolutionopen => fixed
2024-01-29 11:51Florian DoldNote Added: 0021070
2024-02-10 22:31Christian GrothoffFixed in Version => 0.9.4
2024-03-07 19:49Christian GrothoffStatusinforming => closed