acs::Cluster method send_dynamic_cluster_reconfigure_request (protected)

 <instance of acs::Cluster[i]> send_dynamic_cluster_reconfigure_request \
    operation

Defined in packages/acs-tcl/tcl/cluster-procs.tcl

Send a cluster reconfigure request to the canonical server.

Parameters:
operation (required)

Testcases:
No testcase defined.
Source code:
set location ${:canonicalServerLocation}
set returnLocation [:external_location ${:myLocation}]
:log "send $operation request to $location providing return location $returnLocation"
set r [:send $location [self${operation}_request $returnLocation]
#:log "... $operation request returned $r"

if {[dict exists $r body]} {
    #
    # During startup/separation caches might not be in
    # sync. Therefore, we have lost confidence in our
    # caches and clear these.
    #
    :log "$operation request returned [dict get $r body], flushing all my caches"
    acs::cache_flush_all
}
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: