• Michael Hanselmann's avatar
    Show RPC calls from config in lock monitor · b2acdbdc
    Michael Hanselmann authored
    
    
    With this patch all RPC calls at runtime of masterd will show up in the
    lock monitor. There is a chicken-and-egg issue with initializing the
    configuration with a context since the lock manager, containing the
    monitor, requires the configuration. This is worked around by setting
    the config's context only once the lock monitor is available.
    
    Example:
    rpc/node19.example.com/write_ssconf_files  Jq9/Job32/N_SET_PARAMjobqueue_update  Jq2/Job27/C_VERIFY_CONFIG
    Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
    Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
    b2acdbdc
rpc.py 20.9 KB