Development record
credential.SetMachine and oracle's writeProviderBlock read, modify and rename ~/.abcd/credentials.json and ~/.abcd/config.json with no lock, so concurrent ahoy connect runs lose a key or a provider block while each reports it wrote the file.
issueresolvedminoriss-2609260904161412
credential.SetMachine and oracle's writeProviderBlock read, modify and rename ~/.abcd/credentials.json and ~/.abcd/config.json with no lock, so concurrent ahoy connect runs lose a key or a provider block while each reports it wrote the file.
Grounds
- pursued: concurrent ahoy connect runs keep every key and every block, and exactly one of several setups of one provider succeeds; shown wrong by a writer of either file that does not take its lock, or by TestConcurrentConnectsKeepEveryKeyAndBlock or TestConcurrentSetsKeepEveryEntry losing an entry
Frontmatter
| id | iss-2609260904161412 |
|---|---|
| type | issue |
| lifecycle | resolved |
| severity | minor |
.abcd/work/issues/resolved/iss-2609260904161412-credential-setmachine-and-oracle-s.md
open on GitHub ↗ · commit history ↗