Require at least one row of data in full data for server sync #271
+3
−0
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
After a 2-day shutdown of CXC processing, there was an exception in cheta_update_server_sync processing:
This error is due to CXC L0 creating a sim_mrg file with 0 rows, and then having that single archive file be the only one within a sync block (the 2025-01-30T0241z). The code was not expecting to have zero rows in a full-resolution sync file.
Interface impacts
None
Testing
Unit tests
The failure of
test_cxotime_now
is because this requires updates tochandra_time
andcxotime
that are not installed. Since this test is entirely unrelated to this PR, the failure is acceptable.Independent check of unit tests by Jean
Functional tests
Running this from the cheta repo on HEAD succeeds and gives the expected output:
Setup
Running