changing annotations for single file modifies etag for all files in a file view

Description

While updating annotations in bulk with a fileview, all files are modified (and the etag changes), even in the case of an annotation change to a single file.

(My understanding) The expected behavior is the etag will change only when the annotations change for that entity. All other entities or files in the fileview are not touched. Having built a tool for scaling annotation tracking using this expected functionality last month, this is new behavior.

This impacts a bulk update to the PsychENCODE portal I implemented on Monday:


1. I received this uninformative error when updating the file view with

1 2 3 all <- readr::read_csv(synTableQuery("SELECT * FROM syn18701102")$filepath) #Made changes to a subset of the files synStore(synapser::Table("syn18701102", all))



Updating annotations with a fileview workflow documented here: https://r-docs.synapse.org/articles/views.html#updating-annotations-using-view

  • Here is an example where the annotations were not changed and I did not upload nor change the file on 2019-09-30 yet the version history displays my user as modifying version 1. You can find this repeated across the PEC project.
    https://www.synapse.org/#!Synapse:syn18349194

Using test data, and I were separately able to reproduce this behavior.

Environment

None

Status

Assignee

John Hill

Reporter

Kelsey Montgomery

Labels

None

Validator

Kelsey Montgomery

Release Version History

None

Fix versions

Priority

Blocker
Configure