6 ms·
nop. we will not ack any write which is not in data or journal. please check the put details in the blog.
by zzsheng 4mo ago
nop. we will not ack any write which is not in data or journal. please check the put details in the blog.
- loeg 4mo agoYou initiate a write to the journal, but do not sync it before ACKing to the client.
- zzsheng 4mo agojournal file was pre-alloacated and we use direct-io for journal write so no need to call fsync.
- deleted 4mo ago[deleted]
- loeg 4mo agoAgain, it is not durably persisted before acking to the client. Like I said earlier, that might be fine for your durability model, but it is unusual.
- thomas_fa 4mo agoWe would wait for Bss data and journal DirectIO and the acking (sending response back to api_server) in the callback function. What you are implying is what s3 actually doing and you can get see from their paper[1] and we are stronger than that. [1]https://www.amazon.science/publications/using-lightweight-formal-methods-to-validate-a-key-value-storage-node-in-amazon-s3 https://www.amazon.science/publications/using-lightweight-fo....