mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-30 19:46:48 +00:00
An updateable_value() may come without source attached. One of the options how this can happen is if the value sits on a service config. It's a good option to make the config have some default initialization for the option, but in this case observe()ing an option by the service would step on null pointer dereference. Said that, if a value without source is tried to be observed -- assume that it's OK, but the value would never change, so a dummy observer is to be provided. Signed-off-by: Pavel Emelyanov <xemul@scylladb.com>
4.4 KiB
4.4 KiB