Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

archive metadata plugin sends empty collocation hints #6780

Closed
labkode opened this issue May 28, 2024 · 1 comment
Closed

archive metadata plugin sends empty collocation hints #6780

labkode opened this issue May 28, 2024 · 1 comment
Assignees
Milestone

Comments

@labkode
Copy link
Contributor

labkode commented May 28, 2024

Description

The archive metadata plugin sends empty collocation hints to FTS.

The following have been observed in ATLAS and CMS FTS databases for multiple transfers:

MySQL [newfts3atlas]> select archive_metadata, count(*) from t_file group by archive_metadata;
+---------------------------+----------+
| archive_metadata          | count(*) |
+---------------------------+----------+
| NULL                      |    15780 |
| {"collocation_hints": {}} | 14437895 |
+---------------------------+----------+
2 rows in set (29.215 sec)

MySQL [newfts3atlas]

I think it could be a side effect that when no policy is configured, the default is to send an empty dict?

If there are no collocation hints, the archive metadata should not be sent.

Steps to reproduce

Observed in production env

Rucio Version

No response

Additional Information

No response

@labkode
Copy link
Contributor Author

labkode commented Jun 7, 2024

Thanks @voetberg !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants