mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-22 15:52:13 +00:00
When we generate view updates, we check whether we can skip the entire view update if all columns selected by the view are unmodified. However, for collection columns, we only check if they were unset before and after the update. In this patch we add a check for the actual collection contents. We perform this check for both virtual and non-virtual selections. When the column is only a virtual column in the view, it would be enough to check the liveness of each collection cell, however for that we'd need to deserialize the entire collection anyway, which should be effectively as expensive as comparing all of its bytes. Fixes: https://scylladb.atlassian.net/browse/SCYLLADB-808 Closes scylladb/scylladb#28839 * github.com:scylladb/scylladb: mv: allow skipping view updates when a collection is unmodified mv: allow skipping view updates if an empty collection remains unset