View Issue Details

IDProjectCategoryView StatusLast Update
0007551Talerwallet-corepublic2024-03-07 20:49
ReporterFlorian Dold Assigned ToFlorian Dold  
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.

Relationships

child of 0008244 closedFlorian Dold final 0.9.4 release acceptance checks 

Activities

Florian Dold

2023-07-24 10: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 14: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 17: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 12: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 Modified Username Field Change
2023-01-05 17:23 Florian Dold New Issue
2023-01-05 17:23 Florian Dold Status new => assigned
2023-01-05 17:23 Florian Dold Assigned To => Florian Dold
2023-02-17 17:51 Florian Dold Target Version 0.9.2 => 0.9.3
2023-04-13 20:36 Florian Dold Category wallet (TS core) => wallet-core
2023-07-24 10:52 Florian Dold Note Added: 0020365
2023-08-25 14:19 Florian Dold Note Added: 0020443
2023-09-23 15:03 Christian Grothoff Target Version 0.9.3 => 0.9.4
2024-01-24 17:42 Florian Dold Note Added: 0021032
2024-01-27 01:10 Christian Grothoff Relationship added child of 0008244
2024-01-29 12:51 Florian Dold Status assigned => resolved
2024-01-29 12:51 Florian Dold Resolution open => fixed
2024-01-29 12:51 Florian Dold Note Added: 0021070
2024-02-10 23:31 Christian Grothoff Fixed in Version => 0.9.4
2024-03-07 20:49 Christian Grothoff Status resolved => closed