Skip to content

[Troubleshooting] Dataset status didn't update as expected #613

Open
@yuanzhou

Description

@yuanzhou

Reported by Sunset on 2/5/2024 on PROD:

we had some issues with the multiAssay upload split step, for some reason, we still have the bug about statuses not being updated on the database (but entity-api does sends a successful response), here is a small snip of the log where you can find that we send the status update to Submitted on a dataset and a couple of minutes after that we query the dataset and the status was set back to New (not actually updated as New rather that the Submitted update never happened as shown in the status_history field):

[2024-02-02T17:14:32.273-0500] {logging_mixin.py:137} INFO - Setting status of dataset 9e84f7c2f4c473a7337db6cb9c6f9372 to Submitted
[2024-02-02T17:14:32.273-0500] {base.py:73} INFO - Using connection ID 'entity_api_connection' for task execution.
[2024-02-02T17:14:35.438-0500] {status_manager.py:195} INFO - COMPILED DATA: {'status': <Statuses.DATASET_SUBMITTED: 'submitted'>}
[2024-02-02T17:14:35.439-0500] {status_manager.py:209} INFO -
data:
{'status': <Statuses.DATASET_SUBMITTED: 'submitted'>}
[2024-02-02T17:14:35.439-0500] {base.py:73} INFO - Using connection ID 'entity_api_connection' for task execution.
[2024-02-02T17:14:36.424-0500] {logging_mixin.py:137} INFO - Reorganized new: 9e84f7c2f4c473a7337db6cb9c6f9372 from Upload: f080d45619badd505a45b990ea1f9a92 status is Submitted
[2024-02-02T17:15:03.867-0500] {base.py:73} INFO - Using connection ID 'entity_api_connection' for task execution.
[2024-02-02T17:15:03.931-0500] {logging_mixin.py:137} INFO - ds rslt:
[2024-02-02T17:15:03.932-0500] {logging_mixin.py:137} INFO - {'contains_human_genetic_sequences': True,
'created_by_user_displayname': 'HuBMAP Process',
....
'hubmap_id': 'HBM875.SGLH.395',
'last_modified_timestamp': 1706911891972,
'last_modified_user_displayname': 'HuBMAP Process',
'last_modified_user_email': '[[email protected]](mailto:[email protected])',
'last_modified_user_sub': '3e7bce63-129d-33d0-8f6c-834b34cd382e',
'local_directory_rel_path': 'protected/TMC - University of '
'Pennsylvania/9e84f7c2f4c473a7337db6cb9c6f9372/',
'provider_info': 'Penn-Visium : ./Visium_13_75_S2_b',
'status': 'New',
'status_history': [{'change_timestamp': 1706911891972,
'changed_by_email': '[[email protected]](mailto:[email protected])',
'status': 'New'}],
[2024-02-02T17:14:07.985-0500] {logging_mixin.py:137} INFO - Setting status of dataset fa7fbcd8ae9219225f5df25e8c5e994e to Submitted
[2024-02-02T17:14:07.985-0500] {base.py:73} INFO - Using connection ID 'entity_api_connection' for task execution.
[2024-02-02T17:14:08.053-0500] {status_manager.py:195} INFO - COMPILED DATA: {'status': <Statuses.DATASET_SUBMITTED: 'submitted'>}
[2024-02-02T17:14:08.054-0500] {status_manager.py:209} INFO -
data:
{'status': <Statuses.DATASET_SUBMITTED: 'submitted'>}
[2024-02-02T17:14:08.054-0500] {base.py:73} INFO - Using connection ID 'entity_api_connection' for task execution.
[2024-02-02T17:14:09.634-0500] {logging_mixin.py:137} INFO - Reorganized new: fa7fbcd8ae9219225f5df25e8c5e994e from Upload: f080d45619badd505a45b990ea1f9a92 status is Submitted
[2024-02-02T17:15:01.465-0500] {base.py:73} INFO - Using connection ID 'entity_api_connection' for task execution.
[2024-02-02T17:15:01.517-0500] {logging_mixin.py:137} INFO - ds rslt:
[2024-02-02T17:15:01.518-0500] {logging_mixin.py:137} INFO - {'contains_human_genetic_sequences': True,
'created_by_user_displayname': 'HuBMAP Process',
....
'hubmap_id': 'HBM859.FRLZ.427',
'last_modified_timestamp': 1706911874747,
'last_modified_user_displayname': 'HuBMAP Process',
'last_modified_user_email': '[[email protected]](mailto:[email protected])',
'last_modified_user_sub': '3e7bce63-129d-33d0-8f6c-834b34cd382e',
'local_directory_rel_path': 'protected/TMC - University of '
'Pennsylvania/fa7fbcd8ae9219225f5df25e8c5e994e/',
'provider_info': 'Penn-Visium : ./Visium_13_44_S1_b',
'status': 'New',
'status_history': [{'change_timestamp': 1706911874747,
'changed_by_email': '[[email protected]](mailto:[email protected])',
'status': 'New'}],

Metadata

Metadata

Assignees

Labels

PPitt dev team

Type

No type

Projects

Status

Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions