Skip to main content

ec_adaptive_restore_configuration

Last updated March 2020

Name

ec_adaptive_restore_configuration — function to refresh parameters from backstore

Synopsis

#include "modules/generic/adaptive_replicate.h"

| int **ec_adaptive_restore_configuration** ( | spaths, |   | |   | prefd, |   | |   | is_global, |   | |   | nodename, |   | |   | ids, |   | |   | err_buf, |   | |   | buf_len); |   |

const char ** <var class="pdparam">spaths</var>; int * <var class="pdparam">prefd</var>; int <var class="pdparam">is_global</var>; const char * <var class="pdparam">nodename</var>; char * <var class="pdparam">ids</var>; char * <var class="pdparam">err_buf</var>; size_t <var class="pdparam">buf_len</var>;

Description

Note

This reference page was automatically generated from functions found in the header files in the development branch. The function described here may not exist in generally available versions of Momentum, and may change in behavior when it is generally available. Consult your vendor for definitive advice on the use of this function.

function to refresh parameters from backstore.

Parameters

spaths
  • backstore server paths
prefd
  • the prefd server index - indicate if the entrys are global - the local nodename
ids
  • the IDs of the entry to be restored. Space separated list
err_buf
  • if provided, error message will be written to it.
err_len
  • the size of error buffer.

Return Values

1 - successful; 0 - failure

**Configuration Change. ** This feature is available starting from Momentum 3.3.

Was this page helpful?