Detail
-
Does flush-size function the same way as write-block-size and max-record-size?
-
What happens if we write a record larger than flush-size?
Answer
-
No, flush-size does not have the same functionality as write-block-size and max-record-size. A flush event happens either when the 8MiB SWB is full, or when the flush-max-ms period expires. At this point, the most recently written data is flushed from the SWB to disk in a series of flush-size units. These writes are appended to each other until the write block is full.
-
If we write a record larger than flush-size, we would immediately flush and it should not fail. If we write a record larger than max-record-size and/or write-block-size, we would fail with “record too big”.