Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: daf_butler
-
Labels:
-
Story Points:4
-
Team:Architecture
-
Urgent?:No
Description
https://github.com/lsst/daf_butler/blob/master/python/lsst/daf/butler/datastores/s3Datastore.py#L199-L205 checks to see if an object exists before writing it. With AWS and likely other object stores, relaxed consistency guarantees mean that there could be a race condition here if multiple simultaneous jobs are trying to write. Furthermore, the additional API call is pretty wasteful as it is almost always going to return false, and it may help trigger rate limiting.
We should consider whether we can live with overwriting of a dataset.
Attachments
Issue Links
Activity
Field | Original Value | New Value |
---|---|---|
Labels | gen3-middleware |
Watchers | Kian-Tat Lim [ Kian-Tat Lim ] | Dino Bektesevic, Kian-Tat Lim [ Dino Bektesevic, Kian-Tat Lim ] |
Watchers | Dino Bektesevic, Kian-Tat Lim [ Dino Bektesevic, Kian-Tat Lim ] | Dino Bektesevic, Jim Bosch, Kian-Tat Lim [ Dino Bektesevic, Jim Bosch, Kian-Tat Lim ] |
Team | Architecture [ 10304 ] |
Status | To Do [ 10001 ] | In Progress [ 3 ] |
Reviewers | Kian-Tat Lim [ ktl ] | |
Status | In Progress [ 3 ] | In Review [ 10004 ] |
Status | In Review [ 10004 ] | Reviewed [ 10101 ] |
Assignee | Tim Jenness [ tjenness ] |
Resolution | Done [ 10000 ] | |
Status | Reviewed [ 10101 ] | Done [ 10002 ] |
Story Points | 4 |