[COMPASS-7270] Compass' writes to preferences should be atomic Created: 27/Sep/23  Updated: 17/Oct/23  Resolved: 28/Sep/23

Status: Closed
Project: Compass
Component/s: None
Affects Version/s: None
Fix Version/s: 1.40.2

Type: Bug Priority: Major - P3
Reporter: Le Roux Bodenstein Assignee: Basit Chonka
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

OS:
node.js / npm versions:
Additional info:


Documentation Changes: Not Needed

 Description   

Two parallel / simultaneous writes to preferences should not corrupt the file.



 Comments   
Comment by Githook User [ 17/Oct/23 ]

Author:

{'name': 'Basit', 'email': '1305718+mabaasit@users.noreply.github.com', 'username': 'mabaasit'}

Message: fix: atomic writes to preferences COMPASS-7270 COMPASS-7269 (#4920)
Branch: investigate-update-preview
https://github.com/mongodb-js/compass/commit/76f72d8a41ce30c8bedb59c57683f41e5d1b32d8

Comment by Githook User [ 03/Oct/23 ]

Author:

{'name': 'Basit', 'email': '1305718+mabaasit@users.noreply.github.com', 'username': 'mabaasit'}

Message: fix: atomic writes to preferences COMPASS-7270 COMPASS-7269 (#4920)
Branch: export-to-language-v6
https://github.com/mongodb-js/compass/commit/76f72d8a41ce30c8bedb59c57683f41e5d1b32d8

Comment by Githook User [ 02/Oct/23 ]

Author:

{'name': 'Basit', 'email': '1305718+mabaasit@users.noreply.github.com', 'username': 'mabaasit'}

Message: fix: atomic writes to preferences COMPASS-7270 COMPASS-7269 (#4920)
Branch: ai-accuracy-tests
https://github.com/mongodb-js/compass/commit/76f72d8a41ce30c8bedb59c57683f41e5d1b32d8

Comment by Githook User [ 02/Oct/23 ]

Author:

{'name': 'Basit', 'email': '1305718+mabaasit@users.noreply.github.com', 'username': 'mabaasit'}

Message: fix: atomic writes to preferences COMPASS-7270 COMPASS-7269 (#4920)
Branch: feature/COMPASS-7246
https://github.com/mongodb-js/compass/commit/76f72d8a41ce30c8bedb59c57683f41e5d1b32d8

Comment by Githook User [ 28/Sep/23 ]

Author:

{'name': 'Basit', 'email': '1305718+mabaasit@users.noreply.github.com', 'username': 'mabaasit'}

Message: fix: atomic writes to preferences COMPASS-7270 COMPASS-7269 (#4920)
Branch: beta-releases
https://github.com/mongodb-js/compass/commit/76f72d8a41ce30c8bedb59c57683f41e5d1b32d8

Comment by Githook User [ 28/Sep/23 ]

Author:

{'name': 'Basit', 'email': '1305718+mabaasit@users.noreply.github.com', 'username': 'mabaasit'}

Message: fix: atomic writes to preferences COMPASS-7270 COMPASS-7269 (#4920)
Branch: search-indexes-autocomplete
https://github.com/mongodb-js/compass/commit/76f72d8a41ce30c8bedb59c57683f41e5d1b32d8

Comment by Githook User [ 28/Sep/23 ]

Author:

{'name': 'Basit', 'email': '1305718+mabaasit@users.noreply.github.com', 'username': 'mabaasit'}

Message: fix: atomic writes to preferences COMPASS-7270 COMPASS-7269 (#4920)
Branch: COMPASS-6976-stage-snippet
https://github.com/mongodb-js/compass/commit/76f72d8a41ce30c8bedb59c57683f41e5d1b32d8

Comment by Githook User [ 27/Sep/23 ]

Author:

{'name': 'Basit', 'email': '1305718+mabaasit@users.noreply.github.com', 'username': 'mabaasit'}

Message: fix: atomic writes to preferences COMPASS-7270 COMPASS-7269 (#4920)
Branch: ga-releases
https://github.com/mongodb-js/compass/commit/76f72d8a41ce30c8bedb59c57683f41e5d1b32d8

Comment by Githook User [ 27/Sep/23 ]

Author:

{'name': 'Basit', 'email': '1305718+mabaasit@users.noreply.github.com', 'username': 'mabaasit'}

Message: fix: atomic writes to preferences COMPASS-7270 COMPASS-7269 (#4920)
Branch: main
https://github.com/mongodb-js/compass/commit/76f72d8a41ce30c8bedb59c57683f41e5d1b32d8

Generated at Wed Feb 07 22:46:00 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.