Michael Stack
Michael Stack
Jun 9, 2021
+1
Show more
Michael Stack
Michael Stack
Jun 9, 2021
Would it help if on bulk load, after moving the file under store dir, we also add an empty file named for the bulk load under the .storefilelist dir. The Region deletes this file after it has been successfully added to the list of storefiles... and this file has been successfully written? If crash during writing on reopen, it retries adding the bulk loaded file.  Bulk load does not complete successfully until the new store file and the store file pointer get written.
Show more
张铎
张铎
Jun 11, 2021
What if we just crash before writing the empty file but after we move the file to store directory? Still the same problem?
Show more
Michael Stack
Michael Stack
Jun 12, 2021
The bulk load is not successful until the write of the empty file
Show more
张铎
张铎
Jun 14, 2021
But we will still remove the file when opening the region again?
Or maybe we need to redesign the bulk load process to make it transactional? Like a procedure?
Show more
3 replies
Turn on screen reader support
To enable screen reader support, press Ctrl+Alt+Z To learn about keyboard shortcuts, press Ctrl+slash
You're suggesting