Closed JustZack closed 6 months ago
right now commits occur after every operation: Drop & Insert
Since the cache scripts delete rows then inserts the new ones - in some situations tables can be left empty.
This is mainly an issue for the Bills tables, where during cache updates the most recent information is deleted before being inserted in bulk.
Need to implement means to drop then insert new data without having data be unavailable for too long.
This would also mean tables using cache scripts should wait up to n seconds for completion. If it still isn't complete by then:
Only try if #64 proves to be fruitless
right now commits occur after every operation: Drop & Insert
Since the cache scripts delete rows then inserts the new ones - in some situations tables can be left empty.
This is mainly an issue for the Bills tables, where during cache updates the most recent information is deleted before being inserted in bulk.
Need to implement means to drop then insert new data without having data be unavailable for too long.
This would also mean tables using cache scripts should wait up to n seconds for completion. If it still isn't complete by then: