Open Peder2911 opened 2 years ago
This seems to have something to do with our current network topology, as no issue has been found with viewser. We have inspected dumped data from when this issue occurs, and there is no exception, nor any deserialization malfunctions in viewser. The data is simply incomplete out of transfer, which again seems to suggest that something interrupts the connection mid-transfer.
It will be interesting to see if this issue persists with our new servers.
Me and @jimdale found an issue where viewser would raise a deserialization error, while there was obviously at least partial Parquet bytes data in the response:
This only seems to happen with certain querysets. The queryset that lead to this error was:
To begin diagnosing this, we need to write some tooling for dumping the erroneous response data to figure out what is being returned that is not deserializable. This will give us a clue about whether or not the issue is being caused by something upstream, or is caused by some issue with deserialization.
A clue is that there is no exception happening upstream, which means that the data is written to parquet and sent away just fine. This hints towards there being something wrong with viewser.