Closed eric-haibin-lin closed 7 years ago
Fsync()
is invoked periodically (e.g. per 40ms). fsync()
yet. Is it possible to let the worker thread remember its state for txn 0 and pick up txn 1 and work on txn 1 for a while. When the fsync
finishes, the worker thread is notified, return commit message to client 0, and continues to work on txn 1. Should the logging mechanism in peloton be prepared of this situation?Joy is out of town, @MattPerron @abhishekjoshi2 please review and I can send an email to Joy regarding his opinion. Thanks!
TODO: see how postgres does group commit.
With Joy:
With Andy: