* Yuriy Vostrikov <[email protected]> [10/11/24 18:03]: Please add the following comment:
/* For tuples of size below this threshold, when sending a tuple to the client, make a deep copy of the tuple for the duration of sending rather than increment a reference counter. This is necessary to avoid excessive page splits when taking a snapshot: many small tuples can be accessed by clients immediately after the snapshot process has forked off, thus incrementing tuple ref count, and causing the OS to create a copy of the memory page for the forked child. */ > +const int BOX_REF_THRESHOLD = 8196; The patch is OK to push after that. > + > struct namespace namespace[256]; -- _______________________________________________ Mailing list: https://launchpad.net/~tarantool-developers Post to : [email protected] Unsubscribe : https://launchpad.net/~tarantool-developers More help : https://help.launchpad.net/ListHelp

