lightweight_delete_mode
A mode of internal update query that is executed as a part of lightweight delete. Possible values:alter_update- runALTER UPDATEquery that creates a heavyweight mutation.lightweight_update- run lightweight update if possible, runALTER UPDATEotherwise.lightweight_update_force- run lightweight update if possible, throw otherwise.
DELETE FROM ... ON CLUSTER, each executing host derives the mode from its own settings, so
hosts whose profiles set different defaults can run the delete in different modes. A replicated
shard executes on one replica, so there it is that replicaโs settings that decide. Setting it in
the session of the initiating query overrides this, because the distributed DDL entry carries
session changes at distributed_ddl_entry_format_version 2 and above, which the default satisfies.
A host that constrains the setting clamps the value back.
lightweight_deletes_sync
The same asmutations_sync, but controls only execution of lightweight deletes.
Possible values:
See Also
Cloud default value:
1.