WT_SESSION methods cannot discard scratch buffers unless reset or closing.
Specifically, the checkpoint and compact methods can run when there are open cursors, and discarding scratch buffers could discard buffers in use by the open cursors.
WT_SESSION methods cannot discard scratch buffers unless reset or closing.
Specifically, the checkpoint and compact methods can run when there are open cursors, and discarding scratch buffers could discard buffers in use by the open cursors.