You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: mini-lsm-book/src/week3-05-txn-occ.md
+1
Original file line number
Diff line number
Diff line change
@@ -79,6 +79,7 @@ A batch should be handled in the same mem table and the same WAL, even if it exc
79
79
* What if the user wants to batch import data (i.e., 1TB?) If they use the transaction API to do that, will you give them some advice? Is there any opportunity to optimize for this case?
80
80
* What is optimistic concurrency control? What would the system be like if we implement pessimistic concurrency control instead in Mini-LSM?
81
81
* What happens if your system crashes and leave a corrupted WAL on the disk? How do you handle this situation?
82
+
* When you commit the txn, is it necessary to put everything into the memtable in batch, or you can simply put it key by key? Why?
0 commit comments