I’m considering a change to the way we write data to our InfluxDB database.
Currently we write batches of points via UDP if their timestamps are recent enough to be picked up by the next CQ.
If any timestamps are older than that the entire batch is written via HTTP and we do the data aggregation manually.
I know that writing via UDP does not provide any error indication if the write failed.
If all the writes fail, that’s not a problem for us because we will detect that when more data arrives.
I am curious to know what happens if the UDP listener fails (for whatever reason) part-way through processing a batch.
Can we assume that if the batch is supplied in timestamp order, it will be written to the database in that order?