did.database should be parallel / multithread friendly
Nobody has claimed this yet.
Assessment
This issue has not been assessed yet.
Description
When running parallel processes, we get errors that "the database is locked". It's unclear what the right fix is.
- If sqlite3 has some sort of a multi-threaded option, it might be the best choice.
- Another fix would be to catch the error and have the program try again at random intervals every 1 second or so for up to 600 seconds, to attempt to complete its task. This might make it more common for a user to break the program (perhaps by control-C) while the program is in the middle of writing to its various tables, resulting in an incomplete entry. It is possible now but if the program spends more time waiting for access that isn't guaranteed to be instant, it might happen more often. Maybe we don't worry about this at the moment.
- Dominant language
- MATLAB
- Stars
- 1
- Forks
- 2
- Avg merge
- 2h 18m
- Merged PRs (30d)
- 39
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from VH-Lab/DID-matlab
-
design V2
Difficulty 5/5 Over a week Newbie friendliness 45/100
VH-Lab/DID-matlab#204 ·
-
Difficulty 5/5 Over a week Newbie friendliness 30/100
VH-Lab/DID-matlab#195 ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
VH-Lab/DID-matlab#172 ·
-
documentation wontfix
Difficulty 5/5 Over a week Newbie friendliness 15/100
VH-Lab/DID-matlab#147 ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
VH-Lab/DID-matlab#108 ·
All issues in VH-Lab/DID-matlab
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 94/100
VH-Lab/NDIcalc-vis-matlab#107 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
gnu-octave/statistics#498 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
HenrikBengtsson/R.matlab#59 · 3 comments ·
-
enhancement question unconfirmed
Difficulty 2/5 1-2 days Newbie friendliness 83/100