Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provenance straight to and from the database. #881

Merged
merged 50 commits into from
Oct 25, 2021
Merged

Conversation

Christian-B
Copy link
Member

@Christian-B Christian-B commented Oct 20, 2021

In the past we had one type of provenance which was collected in a lists and later written to xml, json or sqllite.

In this pr provenance is written to the sql database as soon as possible.

Instead of a single type do all provenance table there are now several different tables

Due to the significant change in the provenance structure there was no easy way to convert the xml and json writers so they have been removed.

As far as possible all the information previous stored as provenance has been retained.

Messages attached to provenance items have been retained even when possibly too long with an execption of one class where they where no longer correct.

Algorithms that read in provenance lists now obtain the data from the sql

This is a separate set of changes to the no_exector ones so can be reviewed and merged before or after those.

Must be done at the same time as:
SpiNNakerManchester/sPyNNaker#1119
SpiNNakerManchester/SpiNNakerGraphFrontEnd#201

tested by:
SpiNNakerManchester/IntegrationTests#80

|Fixes: #867

@Christian-B Christian-B added the enhancement This adds a new feature label Oct 20, 2021
Copy link
Member

@rowleya rowleya left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, this all makes sense!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement This adds a new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Write Provence straight to database or file
2 participants