janelia-flyem / dvid

Distributed, Versioned, Image-oriented Dataservice
http://dvid.io
Other
197 stars 33 forks source link

add body-specific mutation id to labelmap #286

Closed DocSavage closed 3 years ago

DocSavage commented 6 years ago

This would add an endpoint to labelmap data type that returns a uint64 giving an ID that changes upon every mutation to that particular body. Ting suggested this enhancement since it would help figure out if denormalizations like skeletons or meshes, data managed by processes external to DVID and not under the dvid sync pub/sub, needs to be updated. Presumably the external processes would record the body-specific ID on creation of the mesh or skeleton and know if it were stale by asking DVID what that ID is for a particular version.

stuarteberg commented 3 years ago

I think this can be closed.

DocSavage commented 3 years ago

A superset of this issue was handled through the addition of labelmap's GET /mutations endpoint. The mutation ID is also available through kafka if enabled.

stuarteberg commented 3 years ago

And GET /lastmod