mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-22 09:30:45 +00:00
If external is true, _u.ptr is not null. An empty managed_bytes uses the internal representation. The current code looks scary, since it seems possible that backref would still point to the old location, which would invite corruption when the reclaimer runs. Signed-off-by: Rafael Ávila de Espíndola <espindola@scylladb.com> Reviewed-by: Benny Halevy <bhalevy@scylladb.com> Message-Id: <20200716233124.521796-1-espindola@scylladb.com>
13 KiB
13 KiB