Given a process state using the following record, how could we modify one of the record fields?
-record(state, {
status :: init_in_progress | {init_failed, Reason::term()} | ready,
qbufs = [] :: [{qbuf_ref(), #qbuf{}}],
qbuf_serial_id = 0 :: non_neg_integer(),
total_size = 0 :: non_neg_integer(),
%% no new queries; accumulation allowed
soft_watermark :: non_neg_integer(),