8067215: Disable dual fields when not using optimistic types

Reviewed-by: attila, lagergren
30 files changed