[YSQL][Bulk load] Cancelled non-transactional Copy and shutdown: missing rows #12684
Labels
area/ysql
Yugabyte SQL (YSQL)
kind/bug
This issue is a bug
priority/medium
Medium priority issue
qa_automation
Bugs identified via itest-system, LST, Stress automation or causing automation failures
Jira Link: DB-578
Description
Not sure if this is important enough to warrant an issue, but this kind of missing flush could cause other missing data. I'm running current yugabyte-db master state (55c2d15). I created a large CSV file:
And tried reading it into a local RF3 database (macOS, M1):
After ~10 minutes I canceled the copy:
I would now expect 24622498 rows in t. When running
select count(*) from t;
immediately after the count is lower, after about a minute it reaches this number of rows. But if I restart the database before it reaches it, the last 498 rows seem to get lost permanently:I couldn't always reproduce this, probably depends on how much has to be flushed and timing, but I got it 2 times separately.
The text was updated successfully, but these errors were encountered: