-
Notifications
You must be signed in to change notification settings - Fork 19
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
Possible bug: A send without critical files received #155
Comments
I think I saw this in the past, too. Currently I only have the YAML variants in use, so have forgotten about it. I think the |
Are you sure? The documentation defines:
If I understand the concept correctly, if someone wants "at least some messages sent" then they can simply not define critical_files option or am I missing something? In YAML each set can have this flag is_critical_set specified separately like in this example
critical_files in INI not working and simply useless?
Of course, I can migrate to YAML, no big deal but I am confused. |
The Ini format support was the first we implemented, but we later moved to yaml. So IMO the ini support should be deprecated. |
I wrote that part of the documentation based on my understanding of until-then undocumented behaviour. It is possible that I misunderstood and that the documentation is incorrect. |
I have been using segment_gatherer with ini config style and it has been working fine but sometimes I noticed it would send a dataset with just one file, especially after a restart. I have a list of critical files defined.
My config:
By doing some debugging I found out that ini_to_dict conversion code sets is_critical_set to False:
pytroll-collectors/pytroll_collectors/segments.py
Line 973 in acc2631
Is that really correct? In YAML it is possible to mark a set as critical or not and I can eventually migrate my config to it. But shouldn't all legacy ini sets be critical by default? 🤔
The text was updated successfully, but these errors were encountered: