dotmesh-io / dotmesh

dotmesh (dm) is like git for your data volumes (databases, files etc) in Docker and Kubernetes
https://dotmesh.com
Apache License 2.0
539 stars 29 forks source link

Link checkpoint user_ids to SaaS users #301

Open alaric-dotmesh opened 6 years ago

alaric-dotmesh commented 6 years ago

Our checkpoint data in Segment uses a node ID as the user_id. If we include node IDs in the RPCs issued by the dotmesh server behind push/pull operations, then in the SaaS, we can log the relationship between that node ID and the SaaS user (this depends on issue https://github.com/dotmesh-io/dothub/issues/32 so wel know their Segment UUID) into segment so we can tie those two identities together.

This is part of epic https://github.com/dotmesh-io/non-coding-tasks/issues/34

alaric-dotmesh commented 6 years ago

How we record that relationship between UUID and node ID needs to be investigated.

binocarlos commented 6 years ago

We have a generic Metadata property for SaaS users now that contains the distributed trackingID - we can add a list of seen node-ids that can be combined with the trackingID to identify a checkpoint ping with a hub user