pytask-dev / pytask-dev/pytask-stata
ENH: Fix issue with parallel execution of the same do-file on Unix systems.
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- Python
- Sterne
- 4
- Forks
- 1
- Ø Merge
- 7 T. 8 Std.
- Gemergte PRs (30 T.)
- 10
Beschreibung
Is your feature request related to a problem?
Stata produces log files which have the same name as the executed do-file when used in batch mode.
Parallelizing over the same do-file ...
- may create multiple workers which want to create the same log file at the same time.
- may overwrite the log produced by one task with the information from another task. Whether a task fails is partly inferred from the log file,
On Windows, there is a hacky and maybe not even intended work-around to rename the log file for every task which does not work on Unix.
Describe the solution you'd like
Nothing discussed so far.
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
No file, test, or entry point is named, so first locate the pytask-stata code that launches Stata do-files and handles their logs, then inspect the Unix and Windows execution paths. Done means parallel runs of the same do-file keep separate logs on Unix, avoid overwriting one another, and still support task-failure detection.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- python
- Bereich
- tooling
- Issue-Typ
- Feature
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 25/100