Project

General

Profile

Actions

Bug #21304

closed

redundant user update events

Added by Peter Amstutz 11 months ago. Updated 10 months ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
API
Story points:
-
Release relationship:
Auto

Description

I'm logged in to tordo.

I'm using arv-ws to monitor activity.

I am looking at my home project.

Every time I hit "refresh" it logs an event:

{"event_at": "2023-11-28T14:56:44.006768Z", "event_type": "update", "id": 72930953, "msgID": 32, "object_kind": "arvados#user", "object_owner_uuid": "tordo-tpzed-000000000000000", "object_uuid": "jutro-tpzed-000000000000000", "properties": {"new_attributes": {"owner_uuid": "tordo-tpzed-000000000000000"}, "old_attributes": {"owner_uuid": "tordo-tpzed-000000000000000"}}, "uuid": "tordo-57u5n-csqflceqgj0rowg"}
{"event_at": "2023-11-28T14:56:44.006768Z", "event_type": "update", "id": 72930957, "msgID": 33, "object_kind": "arvados#user", "object_owner_uuid": "tordo-tpzed-000000000000000", "object_uuid": "jutro-tpzed-000000000000000", "properties": {"new_attributes": {"owner_uuid": "tordo-tpzed-000000000000000"}, "old_attributes": {"owner_uuid": "tordo-tpzed-000000000000000"}}, "uuid": "tordo-57u5n-574o6hc2pqeqsvy"}
{"event_at": "2023-11-28T14:56:44.006768Z", "event_type": "update", "id": 72930960, "msgID": 34, "object_kind": "arvados#user", "object_owner_uuid": "tordo-tpzed-000000000000000", "object_uuid": "jutro-tpzed-000000000000000", "properties": {"new_attributes": {"owner_uuid": "tordo-tpzed-000000000000000"}, "old_attributes": {"owner_uuid": "tordo-tpzed-000000000000000"}}, "uuid": "tordo-57u5n-l7ohcjnh6mbesuh"}
{"event_at": "2023-11-28T14:56:44.006768Z", "event_type": "update", "id": 72930961, "msgID": 35, "object_kind": "arvados#user", "object_owner_uuid": "tordo-tpzed-000000000000000", "object_uuid": "jutro-tpzed-000000000000000", "properties": {"new_attributes": {"owner_uuid": "tordo-tpzed-000000000000000"}, "old_attributes": {"owner_uuid": "tordo-tpzed-000000000000000"}}, "uuid": "tordo-57u5n-48knd97dz7gibap"}
{"event_at": "2023-11-28T14:56:44.006768Z", "event_type": "update", "id": 72930962, "msgID": 36, "object_kind": "arvados#user", "object_owner_uuid": "tordo-tpzed-000000000000000", "object_uuid": "jutro-tpzed-000000000000000", "properties": {"new_attributes": {"owner_uuid": "tordo-tpzed-000000000000000"}, "old_attributes": {"owner_uuid": "tordo-tpzed-000000000000000"}}, "uuid": "tordo-57u5n-9li0n7znw527d3t"}
{"event_at": "2023-11-28T14:56:44.006768Z", "event_type": "update", "id": 72930963, "msgID": 37, "object_kind": "arvados#user", "object_owner_uuid": "tordo-tpzed-000000000000000", "object_uuid": "jutro-tpzed-000000000000000", "properties": {"new_attributes": {"owner_uuid": "tordo-tpzed-000000000000000"}, "old_attributes": {"owner_uuid": "tordo-tpzed-000000000000000"}}, "uuid": "tordo-57u5n-b6x7xnub8ode1xe"}
{"event_at": "2023-11-28T14:56:44.006768Z", "event_type": "update", "id": 72930964, "msgID": 38, "object_kind": "arvados#user", "object_owner_uuid": "tordo-tpzed-000000000000000", "object_uuid": "jutro-tpzed-000000000000000", "properties": {"new_attributes": {"owner_uuid": "tordo-tpzed-000000000000000"}, "old_attributes": {"owner_uuid": "tordo-tpzed-000000000000000"}}, "uuid": "tordo-57u5n-e6gkmtrd1pu3f32"}
{"event_at": "2023-11-28T14:56:44.006768Z", "event_type": "update", "id": 72930967, "msgID": 39, "object_kind": "arvados#user", "object_owner_uuid": "tordo-tpzed-000000000000000", "object_uuid": "jutro-tpzed-000000000000000", "properties": {"new_attributes": {"owner_uuid": "tordo-tpzed-000000000000000"}, "old_attributes": {"owner_uuid": "tordo-tpzed-000000000000000"}}, "uuid": "tordo-57u5n-gwh7coh0kt18k3q"}
{"event_at": "2023-11-28T14:56:44.006768Z", "event_type": "update", "id": 72930981, "msgID": 40, "object_kind": "arvados#user", "object_owner_uuid": "tordo-tpzed-000000000000000", "object_uuid": "jutro-tpzed-000000000000000", "properties": {"new_attributes": {"owner_uuid": "tordo-tpzed-000000000000000"}, "old_attributes": {"owner_uuid": "tordo-tpzed-000000000000000"}}, "uuid": "tordo-57u5n-h7bgy3uhpdta95d"}

This is undesirable because read-only operations shouldn't leave a database footprint.

It looks like this is an issue with federated users. It happens on both tordo and pirca, but when I monitor events on jutro, I don't see the same events.


Subtasks 1 (0 open1 closed)

Task #21333: Review 21304-user-update ResolvedPeter Amstutz02/01/2024Actions
Actions

Also available in: Atom PDF