Project: OpenIO (Runtime / Cloud Native Storage)
File: Variables.md

`oio-sds` allows you to alter a lot of configuration at compile-time as well at runtime. We use a minimal generation tool for a set of variables that can be modified at runtime, and whose default value can be changed at the compile-time. Those variables are described Some variables, though, are not configurable yet, and still require a value to be fixed once for all when compiling the code. Please find below the list of the `cmake` directives to control such variables. | Macro | Default | Description | | -- | - | -- | | OIOSDS_RELEASE | "master" | Global release name | | OIOSDSPROJECTVERSION_SHORT | "1.0" | Minor version number | Used by `gcc` | Macro | Default | Description | | -- | - | -- | | DAEMONDEFAULTTIMEOUT_READ | 1000 | How long a gridd will block on a recv() (in milliseconds) | | DAEMONDEFAULTTIMEOUT_ACCEPT | 1000 | How long a gridd will block on a accept() (in milliseconds) | | Macro | Default | Description | | -- | - | -- | | OIOEVTBEANSTALKDDEFAULTTUBE | "oio" | | | Macro | Default | Description | | -- | - | -- | | GCLUSTERRUNDIR | "/var/run" | Prefix to spool. | | GCLUSTERCONFIGFILE_PATH | "/etc/oio/sds.conf" | System-wide configuration file | | GCLUSTERCONFIGDIR_PATH | "/etc/oio/sds.conf.d" | System-wide configuration directory for additional files. | | GCLUSTERCONFIGLOCAL_PATH | ".oio/sds.conf" | Local configuration directory. | | GCLUSTERAGENTSOCK_PATH | "/var/run/oio-sds-agent.sock" | Default path for agent's socket. | | Macro | Default | Description | | -- | - | -- | | PROXYD_PREFIX | "v3.0" | Prefix applied to proxyd's URL, second version (with accounts) | | PROXYDHEADERPREFIX | "X-oio-" | Prefix for all the headers sent to the proxy | | PROXYDHEADERREQID | PROXYDHEADERPREFIX "req-id" | Header whose value is printed in access log, destined to aggregate several requests belonging to the same session. | | PROXYDHEADERNOEMPTY | PROXYDHEADERPREFIX "no-empty-list" | Flag sent to the proxy to turn empty list (results) into 404 not found. | | Macro | Default | Description | | -- | - | -- | | OIOSTATPREFIX_REQ | "counter req.hits" | | | OIOSTATPREFIX_TIME | "counter req.time" | | | Macro | Default | Description | | -- | - | -- | | SQLXDIRSCHEMAS | NULL | Default directory used to gather applicative schema of SQLX bases. NULL by default, meaning that no directory is set, so that there is no attempt to load a schema. | | SQLXADMINPREFIX_SYS | "sys." | Prefix used for keys used in admin table of sqlite bases | | SQLXADMINPREFIX_USER | "user." | Prefix used for keys used in admin table of sqlite bases | | SQLXADMININITFLAG | SQLXADMINPREFIX_SYS "sqlx.init" | Key used in admin table of sqlite bases | | SQLXADMINSTATUS | SQLXADMINPREFIX_SYS "sqlx.flags" | Key used in admin table of sqlite bases | | SQLXADMINREFERENCE | SQLXADMINPREFIX_SYS "sqlx.reference" | Key used in admin table of sqlite bases | | SQLXADMINBASENAME | SQLXADMINPREFIX_SYS "sqlx.name" | Key used in admin table of sqlite bases | | SQLXADMINBASETYPE | SQLXADMINPREFIX_SYS "sqlx.type" | Key used in admin table of sqlite bases | | SQLXADMINNAMESPACE | SQLXADMINPREFIX_SYS "sqlx.ns" | Key used in admin table of sqlite bases | | Macro | Default | Description | | -- | - | -- | | M2V2ADMINPREFIXSYS | SQLXADMINPREFIXSYS

| | | M2V2ADMINPREFIXUSER | SQLXADMINPREFIXUSER "m2." | | | M2V2ADMINVERSION | M2V2ADMINPREFIX_SYS "version" | | | M2V2ADMINQUOTA | M2V2ADMINPREFIX_SYS "quota" | | | M2V2ADMINSIZE | M2V2ADMINPREFIX_SYS "usage" | | | M2V2ADMINCTIME | M2V2ADMINPREFIX_SYS "ctime" | | | M2V2ADMINVERSIONINGPOLICY | M2V2ADMINPREFIXSYS "policy.version" | | | M2V2ADMINSTORAGEPOLICY | M2V2ADMINPREFIXSYS "policy.storage" | | | M2V2ADMINKEEPDELETEDDELAY | M2V2ADMINPREFIXSYS "keepdeleted_delay" | | | META2INITFLAG | M2V2ADMINPREFIX_SYS "init" | | | Macro | Default | Description | | -- | - | -- | | RAWXHEADERPREFIX | "X-oio-chunk-meta-" | Prefix for all the headers sent/received with the rawx | | Macro | Default | Description | | -- | - | -- | |OIOUSEOLDFMEMOPEN|undefined_|Use the old implementation of glibc's `fmemopen`. Starting from glibc 2.22 the new implementation lacks the binary mode which made things work.| | Name | Type | Default | Description | | - | - | - | -- | | docroot | string | MANDATORY | Chunks root directory | | namespace | string | MANDATORY | Namespace name | | hash_width | number | 3 | How many hexdigits must be used to name the indirection directories | | hash_depth | number | 1 | How many levels of directories are used to store chunks | | fsync | boolean | disabled | At the end of an upload, perform a fsync() on the chunk file itself | | fsync_dir | boolean | enabled | At the end of an upload, perform a fsync() on the directory holding the chunk | | fallocate | boolean | enabled | Preallocate space for the chunk file | | checksum | string (enabled,disabled,smart) | enabled | Enable checksumming the body of PUT | Should an error be raised when the peer is marked down, instead of trying to contact the peer. default: TRUE* type: gboolean cmake directive: OIOCLIENTDOWNCACHEAVOID* Should the connection timeout be dramatically shortened when talking to a peer that has been reported down. Set to false by default, this is evaluated after the avoidance of those peers. default: FALSE* type: gboolean cmake directive: OIOCLIENTDOWNCACHESHORTEN* Should the client feed a cache with the network errors it encounters, and should those errors be used to prevent RPC to be performed toward 'too-faulty' peers. default: FALSE* type: gboolean cmake directive: OIOCLIENTERRORSCACHEENABLED* Sets the number of faults (on the period given by client.errors_cache.period) beyond which a peer is considered as too faulty to try a new RPC. default: 60* type: guint64 cmake directive: OIOCLIENTERRORSCACHEMAX* range: 1 -> 4294967296 Sets the size of the time window used to count the number of network errors. default: 60* type: gint64 cmake directive: OIOCLIENTERRORSCACHEPERIOD* range: 1 -> 3600 Tells how long the verbosity remains higher before being reset to the default, after a SIGUSR1 has been received. default: 5 GTIMESPAN_MINUTE type: gint64 cmake directive: OIOCOMMONVERBOSITYRESETDELAY* range: 1 GTIMESPANSECOND -> 1 * GTIMESPANHOUR Should the C API adjust the chunk size when over this ceiling. Set to 0 for no action. default: 0* type: gint64 cmake directive: OIOCORECHUNKSIZEMAX* range: 0 -> G_MAXINT64 Should the C API adjust the chunk size when below this

Set to 0 for no action default: 10000000* type: gint64 cmake directive: OIOCORECHUNKSIZEMIN* range: 0 -> G_MAXINT64 HTTP User-Agent to be used between any C client and the proxy default: * type: string cmake directive: OIOCOREHTTPUSERAGENT* Compare the number of items to select to the number of items available at the current location level, and decide if it is desirable to bypass or slacken the time-consuming distance checks. Disable this if you detect too many situations where distance between selected items could have been bigger. default: TRUE* type: gboolean cmake directive: OIOCORELBALLOWDISTANCE_BYPASS* Generate random, 64 bytes long chunk IDs. If set to false, the chunk IDs will be generated from the container and object names, object version and storage policy, and chunk position. default: FALSE* type: gboolean cmake directive: OIOCORELBGENERATERANDOMCHUNKIDS* How many times shall we try to select a service using a weighted random algorithm, before switching to the shuffled selection. Increase this if you observe too many choices of low-score services while high-score services are available. default: 8* type: guint cmake directive: OIOCORELBWEIGHTEDRANDOM_ATTEMPTS* range: 1 -> 64000 Dump the time spent while holding the global writer lock, when the lock is held for longer than this threshold (in microseconds). default: 5000* type: gint64 cmake directive: OIOCORELBWRITERLOCKALERTDELAY* range: 1 -> 60 GTIMESPAN_SECOND Sets the minimal amount of time between two refreshes of the known CPU-idle counters for the current host. Keep this value small. default: 1 GTIMESPAN_SECOND type: gint64 cmake directive: OIOCOREPERIODREFRESHCPU_IDLE* range: 100 GTIMESPANMILLISECOND -> 1 * GTIMESPANHOUR Sets the minimal amount of time between two refreshes of the known IO-idle counters for the current host. Keep this small. default: 1 GTIMESPAN_SECOND type: gint64 cmake directive: OIOCOREPERIODREFRESHIO_IDLE* range: 100 GTIMESPANMILLISECOND -> 1 * GTIMESPANHOUR Sets the minimal amount of time between two refreshes of the list of the major/minor numbers of the known devices, currently mounted on the current host. If the set of mounted file systems doesn't change, keep this value high. default: 30 GTIMESPAN_SECOND type: gint64 cmake directive: OIOCOREPERIODREFRESHMAJOR_MINOR* range: 100 GTIMESPANMILLISECOND -> 1 * GTIMESPANHOUR TODO: to be documented default: TRUE* type: gboolean cmake directive: OIOCORERESOLVERDIRSHUFFLE* TODO: to be documented default: TRUE* type: gboolean cmake directive: OIOCORERESOLVERSRVSHUFFLE* Should the client adapt metachunk size to EC policy parameters? Letting this on will make bigger metachunks, but chunks on storage will stay at normal chunk size. Disabling this option allows clients to do write alignment. default: TRUE* type: gboolean cmake directive: OIOCORESDSADAPTMETACHUNK_SIZE* In the current oio-sds client SDK, should the entities be autocreated while accessed for the first time. So, when pushing a content in a container, when this option is set to 'true', the USER and the CONTAINER will be created and configured to the namespace's defaults. default: FALSE* type: gboolean cmake directive: OIOCORESDS_AUTOCREATE* In the current oio-sds client SDK, should the rawx services be shuffled before accessed. This helps ensuring a little load-balancing on the client side. default: FALSE* type: gboolean cmake directive: OIOCORESDS_NOSHUFFLE* Should the object URLs be checked for non-UTF-8 characters? Disable this only if you have trouble reading old objects, uploaded before we check for invalid names. default: TRUE* type: gboolean cmake directive: OIOCORESDSSTRICTUTF8* Sets the connection timeout for requests issued to rawx services. default: 5.0* type: gdouble cmake directive: OIOCORESDSTIMEOUTCNX_RAWX* range: 0.001 -> 300.0 Sets the global timeout when uploading a chunk to a rawx service. default: 60.0* type: gdouble cmake directive: OIOCORESDSTIMEOUTREQ_RAWX* range: 0.001 -> 600.0 The version of the sds. It's used to know the expected metadata of a chunk default: 4.2* type: string cmake directive: OIOCORESDS_VERSION* Parameters to pass when binding a queue to an exchange, separated by

default: * type: string cmake directive: OIOEVENTSAMQPBINDARGS* Routing key used when binding a queue to an exchange (should not be confused with the routing key used when sending an event). default: #* type: string cmake directive: OIOEVENTSAMQPBINDROUTING_KEY* Parameters to pass when declaring the exchange, separated by ','. default: * type: string cmake directive: OIOEVENTSAMQPEXCHANGEARGS* Name of the exchange to declare. default: oio* type: string cmake directive: OIOEVENTSAMQPEXCHANGENAME* Type of the exchange to declare. default: topic* type: string cmake directive: OIOEVENTSAMQPEXCHANGETYPE* Parameters to pass when declaring a queue, separated by ','. default: x-queue-type=quorum* type: string cmake directive: OIOEVENTSAMQPQUEUEARGS* Name of the queue to declare. default: oio* type: string cmake directive: OIOEVENTSAMQPQUEUENAME* Set a threshold for the number of items in the beanstalkd, so that the service will alert past that value. Set to 0 for no alert sent. default: 0* type: gint64 cmake directive: OIOEVENTSBEANSTALKDCHECKLEVEL_ALERT* range: 0 -> G_MAXINT64 Set the maximum number of items in beanstalkd before considering it full default: 512000* type: gint64 cmake directive: OIOEVENTSBEANSTALKDCHECKLEVEL_DENY* range: 0 -> G_MAXINT64 Set the interval between each check of the beanstalkd availability. Set to 0 to never check. default: 0* type: gint64 cmake directive: OIOEVENTSBEANSTALKDCHECKPERIOD* range: 0 -> 1 GTIMESPAN_DAY Sets the delay on each notification sent to the BEANSTALK endpoint default: 0* type: gint64 cmake directive: OIOEVENTSBEANSTALKD_DELAY* range: 0 -> 86400 Sets the priority of each notification sent to the BEANSTALK endpoint default: 2147483648* type: guint cmake directive: OIOEVENTSBEANSTALKD_PRIO* range: 0 -> 2147483648 Set the interval between each check of the beanstalkd availability. Set to 0 to never check. default: 4 GTIMESPAN_SECOND type: gint64 cmake directive: OIOEVENTSBEANSTALKD_TIMEOUT* range: 100 GTIMESPANMILLISECOND -> 90 * GTIMESPANSECOND Sets the TTR (time to run) allow on the treatment of the notificatio sent to the beanstalkd default: 120* type: gint64 cmake directive: OIOEVENTSBEANSTALKD_TTR* range: 0 -> 86400 Sets the buffering delay of the events emitted by the application default: 1 GTIMESPAN_SECOND type: gint64 cmake directive: OIOEVENTSCOMMONPENDINGDELAY* range: 1 GTIMESPANMILLISECOND -> 1 * GTIMESPANHOUR Sets the maximum number of pending events, not received yet by the endpoint default: 10000* type: guint32 cmake directive: OIOEVENTSCOMMONPENDINGMAX* range: 1 -> 1048576 Set the acknowledgement policy. Allowed values: all, -1, 0, 1 default: all* type: string cmake directive: OIOEVENTSKAFKA_ACKS* Flush message after produce default: TRUE* type: gboolean cmake directive: OIOEVENTSKAFKA_FLUSH* Set the Kafka client options default: * type: string cmake directive: OIOEVENTSKAFKA_OPTIONS* Set the Kafka client flush timeout default: 0* type: gint64 cmake directive: OIOEVENTSKAFKATIMEOUTSFLUSH* range: 0 -> 86400 Sets the maximum number of ACK managed by the ZMQ notification client default: 32* type: guint cmake directive: OIOEVENTSZMQMAXRECV* range: 1 -> 1073741824 Sets the connection timeout, involved in any RPC to a 'meta' service. default: 4.0* type: gdouble cmake directive: OIOGRIDDTIMEOUTCONNECTCOMMON* range: 0.1 -> 30.0 Sets the default timeout for unitary (request/response) RPC, without considering the possible redirection. default: 30.0* type: gdouble cmake directive: OIOGRIDDTIMEOUTSINGLECOMMON* range: 0.01 -> 120.0 Sets the global timeout of a RPC to e 'meta' service, considering all the possible redirections. default: 30.0* type: gdouble cmake directive: OIOGRIDDTIMEOUTWHOLECOMMON* range: 0.1 -> 120.0 Anti-DDoS counter-measure. In the current server, sets the maximum amount of time a queued TCP event may remain in the queue. If an event is polled and the thread sees the event stayed longer than that delay, A '503 Unavailable' error is

default: 40 GTIMESPAN_SECOND type: gint64 cmake directive: OIOMETAQUEUEMAXDELAY* range: 10 GTIMESPANMILLISECOND -> 1 * GTIMESPANHOUR Sets the timeout to the set of (quick) RPC that query a meta0 service default: 10.0* type: gdouble cmake directive: OIOMETA0OUTGOINGTIMEOUTCOMMON_REQ* range: 0.01 -> 60.0 Sets the timeout to the set of (quick) RPC that query a meta1 service default: 10.0* type: gdouble cmake directive: OIOMETA1OUTGOINGTIMEOUTCOMMON_REQ* range: 0.01 -> 60.0 TODO: to be documented default: oio* type: string cmake directive: OIOMETA1TUBE_SERVICES* When listing a container, limits the number of items to that value. default: 1000* type: guint cmake directive: OIOMETA2BATCH_MAXLEN* range: 1 -> 100000 How many bytes may be stored in each container. default: 0* type: gint64 cmake directive: OIOMETA2CONTAINERMAXSIZE* range: 0 -> G_MAXINT64 When adding alias with versioning, deletes exceeding versions. default: FALSE* type: gboolean cmake directive: OIOMETA2DELETEEXCEEDINGVERSIONS* When draining a container, limits the number of drained objects per call. default: 1000* type: gint64 cmake directive: OIOMETA2DRAIN_LIMIT* range: 0 -> 100000 When flushing a container, limits the number of deleted objects. default: 1000* type: gint64 cmake directive: OIOMETA2FLUSH_LIMIT* range: 0 -> G_MAXINT64 Should the meta2 check the container state (quota, etc) before generating chunks. default: FALSE* type: gboolean cmake directive: OIOMETA2GENERATE_PRECHECK* Namespace configuration of the max number of versions for a single alias, in a container. default: 1* type: gint64 cmake directive: OIOMETA2MAX_VERSIONS* range: -1 -> G_MAXINT64 DEPRECATED. Sets the period of the periodical reloading of the Load-balancing state, in the current meta2 service. default: 10* type: gint64 cmake directive: OIOMETA2RELOADLBPERIOD* range: 1 -> 3600 Sets the period of the periodical reloading of the namespace configuration, in the current meta2 service. default: 5* type: gint64 cmake directive: OIOMETA2RELOADNSINFOPERIOD* range: 1 -> 3600 How long should deleted content be kept. default: 604800* type: gint64 cmake directive: OIOMETA2RETENTION_PERIOD* range: 1 -> 2592000 Maximum number of entries cleaned in meta2 database. Of course, the higher this number, the longer the cleaning request will be. default: 10000* type: gint64 cmake directive: OIOMETA2SHARDINGMAXENTRIES_CLEANED* range: 1 -> 1000000 Maximum number of entries merged in meta2 database. Of course, the higher this number, the longer the merging request will be. default: 10000* type: gint64 cmake directive: OIOMETA2SHARDINGMAXENTRIES_MERGED* range: 10000 -> 1000000 Maximum time to clean a shard (in replicated mode) from the moment the lock is taken. default: 1 GTIMESPAN_SECOND type: gint64 cmake directive: OIOMETA2SHARDINGREPLICATEDCLEAN_TIMEOUT* range: 1 GTIMESPANMILLISECOND -> 1 * GTIMESPANMINUTE Maximum time allowed between the preparation phase and the locking phase to shard a container. default: 12 GTIMESPAN_MINUTE type: gint64 cmake directive: OIOMETA2SHARDING_TIMEOUT* range: 1 GTIMESPANSECOND -> 1 * GTIMESPANHOUR Should the meta2 store complete chunk IDs (URL) or just store service IDs. If this is set to false, core.lb.generaterandomchunk_ids should be set to false also. default: FALSE* type: gboolean cmake directive: OIOMETA2STORECHUNKIDS* Tube name (or routing key) for 'storage.container.deleted' events. default: oio* type: string cmake directive: OIOMETA2TUBECONTAINERDELETED* Tube name (or routing key) for 'storage.container.new' events. default: oio* type: string cmake directive: OIOMETA2TUBECONTAINERNEW* Tube name (or routing key) for 'storage.container.state' events. default: oio* type: string cmake directive: OIOMETA2TUBECONTAINERSTATE* Tube name (or routing key) for 'storage.container.update' events. default: oio* type: string cmake directive: OIOMETA2TUBECONTAINERUPDATED* Tube name (or routing key) for 'storage.content.append' events. default: oio* type: string cmake directive: OIOMETA2TUBECONTENTAPPENDED* Tube name (or routing key) for 'storage.content.broken' events. default: oio* type: string cmake directive: OIOMETA2TUBECONTENTBROKEN* Tube name (or routing key) for 'storage.content.new' events. default: oio* type: string cmake directive: OIOMETA2TUBECONTENTCREATED* Tube name (or routing key) for 'storage.content.deleted'

default: oio* type: string cmake directive: OIOMETA2TUBECONTENTDELETED* Tube name (or routing key) for 'storage.content.drained' events. default: oio* type: string cmake directive: OIOMETA2TUBECONTENTDRAINED* Tube name (or routing key) for 'storage.content.update' events. default: oio* type: string cmake directive: OIOMETA2TUBECONTENTUPDATED* Tube name (or routing key) for 'storage.meta2.deleted' events. default: oio* type: string cmake directive: OIOMETA2TUBEMETA2DELETED* Default chunk size for the given namespace. default: 10485760* type: gint64 cmake directive: OIONSCHUNK_SIZE* range: 1 -> G_MAXINT64 Default number of bits with flat-NS computation. default: 17* type: guint cmake directive: OIONSFLAT_BITS* range: 0 -> 64 TODO: to be documented default: TRUE* type: gboolean cmake directive: OIONSMASTER* Default number of digits to aggregate meta1 databases. default: 4* type: guint cmake directive: OIONSMETA1_DIGITS* range: 0 -> 4 Geographical region where the cluster has been deployed (case insensitive). default: localhost* type: string cmake directive: OIONSREGION* TODO: to be documented default: meta2=KEEP|3|1;sqlx=KEEP|1|1|;rdir=KEEP|1|1|* type: string cmake directive: OIONSSERVICEUPDATEPOLICY* TODO: to be documented default: NONE* type: string cmake directive: OIONSSTORAGE_POLICY* Is the NS in a WORM (for Write Once, Read Many --but never delete). default: FALSE* type: gboolean cmake directive: OIONSWORM* In a proxy, sets how many containers can be created at once. default: 100* type: guint cmake directive: OIOPROXYBULKMAXCREATE_MANY* range: 0 -> 10000 In a proxy, sets how many objects can be deleted at once. default: 100* type: guint cmake directive: OIOPROXYBULKMAXDELETE_MANY* range: 0 -> 10000 In a proxy, sets if any form of caching is allowed. Supersedes the value of resolver.cache.enabled. default: TRUE* type: gboolean cmake directive: OIOPROXYCACHE_ENABLED* Should the proxy shuffle the meta1 addresses before contacting them, thus trying to perform a better fanout of the requests. default: TRUE* type: gboolean cmake directive: OIOPROXYDIR_SHUFFLE* In a proxy, should the process ask the target service (with the help of an option in each RPC) to accept the RPC only if it is MASTER on that DB. default: FALSE* type: gboolean cmake directive: OIOPROXYFORCE_MASTER* Specify the OpenIO SDS location of the service. default: * type: string cmake directive: OIOPROXYLOCATION* In a proxy, sets the global timeout for all the other RPC issued (not conscience, not stats-related) default: 30.0* type: gdouble cmake directive: OIOPROXYOUTGOINGTIMEOUTCOMMON* range: 0.1 -> 60.0 In a proxy, sets the global timeout for 'config' requests issued default: 10.0* type: gdouble cmake directive: OIOPROXYOUTGOINGTIMEOUTCONFIG* range: 0.1 -> 60.0 In a proxy, sets the global timeout for the RPC to the central cosnience service. default: 10.0* type: gdouble cmake directive: OIOPROXYOUTGOINGTIMEOUTCONSCIENCE* range: 0.1 -> 60.0 In a proxy, sets the global timeout for 'info' requests issued default: 5.0* type: gdouble cmake directive: OIOPROXYOUTGOINGTIMEOUTINFO* range: 0.01 -> 60.0 In a proxy, sets the global timeout for 'stat' requests issued (mostly forwarded for the event-agent) default: 10.0* type: gdouble cmake directive: OIOPROXYOUTGOINGTIMEOUTSTAT* range: 0.1 -> 60.0 In a proxy, sets the period between the refreshes of the load-balancing state from the central conscience. default: 5* type: gint64 cmake directive: OIOPROXYPERIODCSDOWNSTREAM* range: 0 -> 60 In a proxy, sets the period between two sendings of services states to the

default: 1* type: gint64 cmake directive: OIOPROXYPERIODCSUPSTREAM* range: 1 -> 60 In the proxy, tells the period between the reloadings of the conscience URL, known from the local configuration default: 30* type: gint64 cmake directive: OIOPROXYPERIODREFRESHCSURL* range: 0 -> 86400 In the proxy, tells the period between two refreshes of the known service types, from the conscience default: 30* type: gint64 cmake directive: OIOPROXYPERIODREFRESHSRVTYPES* range: 1 -> 86400 In the proxy, tells the period between two refreshes of the namespace configuration, from the conscience default: 30* type: gint64 cmake directive: OIOPROXYPERIODRELOADNSINFO* range: 1 -> 3600 In a proxy, upon a read request, should the proxy prefer a service known to host a MASTER copy of the DB. Supersedes proxy.prefer.slaveforread default: FALSE* type: gboolean cmake directive: OIOPROXYPREFERMASTERFOR_READ* In a proxy, upon a write request, should the proxy prefer services known to host the MASTER copy of the DB default: TRUE* type: gboolean cmake directive: OIOPROXYPREFERMASTERFOR_WRITE* In a proxy, upon a read request, should the proxy prefer a service known to host a SLAVE copy of the DB. default: TRUE* type: gboolean cmake directive: OIOPROXYPREFERSLAVEFOR_READ* In a proxy, tells if the (ugly-as-hell) quirk that sets the score known from the conscience on the corresponding entries in the cache of services 'known to be local' default: FALSE* type: gboolean cmake directive: OIOPROXYQUIRKLOCALSCORES* How long a request might take to execute, when no specific deadline has been received. Used to compute a deadline transmitted to backend services, when no timeout is present in the request. default: 1 GTIMESPAN_MINUTE type: gint64 cmake directive: OIOPROXYREQUESTMAXDELAY* range: 1 GTIMESPANMILLISECOND -> 1 * GTIMESPANHOUR Should the proxy patch the services descriptions to let the caller prefer local services. default: FALSE* type: gboolean cmake directive: OIOPROXYSRVLOCALPATCH* Should the proxy allocate services with a local preference. 0 for no, 1 for only one local service and 2 for a maximum of services in spite of the location constraints. The value 2 is a quirk that should be avoided unless upon exceptional condition wherein you accept the risk. default: 0* type: gint cmake directive: OIOPROXYSRVLOCALPREPARE* range: 0 -> 2 Should the proxy shuffle the meta2 addresses before the query, to do a better load-balancing of the requests. default: TRUE* type: gboolean cmake directive: OIOPROXYSRV_SHUFFLE* In the proxy cache, sets the TTL of a service known to be down default: 5 GTIMESPAN_SECOND type: gint64 cmake directive: OIOPROXYTTLSERVICESDOWN* range: 0 -> 1 GTIMESPAN_DAY In a proxy, sets the TTL of each service already encountered default: 5 GTIMESPAN_DAY type: gint64 cmake directive: OIOPROXYTTLSERVICESKNOWN* range: 0 -> 7 GTIMESPAN_DAY In the proxy cache, sets the TTL of a local service default: 30 GTIMESPAN_SECOND type: gint64 cmake directive: OIOPROXYTTLSERVICESLOCAL* range: 0 -> 1 GTIMESPAN_DAY In a proxy, sets the TTL on each 'known master' entry. That cache is filled each time a redirection to a MASTER occurs, so that we can immediately direct write operation to the service that owns the MASTER copy. default: 30 GTIMESPAN_MINUTE type: gint64 cmake directive: OIOPROXYTTLSERVICESMASTER* range: 0 -> 7 GTIMESPAN_DAY In a proxy, sets the maximum length for the URL it receives. This options protects stack allocation for that URL. default: 2048* type: guint cmake directive: OIOPROXYURLPATHMAXLEN* range: 32 -> 65536 Is the RAWX allowed to emit events in the beansatlkd? default: TRUE* type: gboolean cmake directive: OIORAWXEVENTS_ALLOWED* Is the RAWX allowed to run if its base directory is hosted in the root partition, a.k.a. '/'. default: TRUE* type: gboolean cmake directive: OIORAWXSLASH_ALLOWED* TODO: to be documented default: oio* type: string cmake directive: OIORAWXTUBECHUNKCREATED* TODO: to be documented default: oio* type: string cmake directive: OIORAWXTUBECHUNKDELETED* Configure the maximum number of file descriptors allowed to each leveldb database. Set to 0 to autodetermine the value (cf. rdir.fd_reserve). The real value will be clamped at least to

Will only be applied on bases opened after the configuration change. default: 0* type: guint cmake directive: OIORDIRFDPERBASE* range: 0 -> 16384 Configure the total number of file descriptors the leveldb backend may use. Set to 0 to autodetermine the value. Will only be applied on bases opened after the configuration change. default: 0* type: guint cmake directive: OIORDIRFD_RESERVE* range: 0 -> 32768 Configure the size of rdir Leveldb data blocks. See Leveldb documentation. default: 4096* type: guint cmake directive: OIORDIRLEVELDBBLOCKSIZE* range: 1024 -> 1048576 Configure the size of rdir Leveldb files. Leveldb will write up to this amount of bytes to a file before switching to a new one. See Leveldb documentation. default: 2097152* type: guint cmake directive: OIORDIRLEVELDBMAXFILE_SIZE* range: 16384 -> 1073741824 In any service resolver instantiated, sets the maximum number of entries related to meta0 (meta1 addresses) and conscience (meta0 address) default: 4194304* type: guint cmake directive: OIORESOLVERCACHECSM0MAX_DEFAULT* range: 0 -> G_MAXUINT In any service resolver instantiated, sets the default TTL on the entries related meta0 (meta1 addresses) and conscience (meta0 address) default: 0* type: gint64 cmake directive: OIORESOLVERCACHECSM0TTL_DEFAULT* range: 0 -> G_MAXINT64 Allows the resolver instances to cache entries default: FALSE* type: gboolean cmake directive: OIORESOLVERCACHE_ENABLED* In any shard resolver instantiated, sets the maximum number of root entries default: 4096* type: guint cmake directive: OIORESOLVERCACHEROOTMAX_DEFAULT* range: 0 -> G_MAXUINT In any shard resolver instantiated, sets the default TTL on the root entries default: 0* type: gint64 cmake directive: OIORESOLVERCACHEROOTTTL_DEFAULT* range: 0 -> G_MAXINT64 In any shard resolver instantiated, sets the maximum number of shards entries per root default: 16* type: guint cmake directive: OIORESOLVERCACHESHARDSMAX_DEFAULT* range: 1 -> 128 In any service resolver instantiated, sets the maximum number of meta1 entries (data-bound services) default: 4194304* type: guint cmake directive: OIORESOLVERCACHESRVMAX_DEFAULT* range: 0 -> G_MAXUINT In any service resolver instantiated, sets the default TTL on the meta1 entries (data-bound services) default: 0* type: gint64 cmake directive: OIORESOLVERCACHESRVTTL_DEFAULT* range: 0 -> G_MAXINT64 In the network core, when the server socket wakes the call to epoll_wait(), that value sets the number of subsequent calls to accept(). Setting it to a low value allows to quickly switch to other events (established connection) and can lead to a starvation on the new connections. Setting to a high value might spend too much time in accepting and ease denials of service (with established but idle cnx). default: 64* type: guint cmake directive: OIOSERVERBATCH_ACCEPT* range: 1 -> 4096 In the network core of a server, how many events do you manage in each call to epoll_wait(). Set to a low value to quickly react on new connections, to an higher value to rather treat established connections. The value is bound to a stack-allocated buffer, keep it rather small. default: 128* type: guint cmake directive: OIOSERVERBATCH_EVENTS* range: 1 -> 4096 In the current server, sets the maximum amount of time a connection may live without activity since the last activity (i.e. the last reply sent) default: 5 GTIMESPAN_MINUTE type: gint64 cmake directive: OIOSERVERCNXTIMEOUTIDLE* range: 0 -> 1 GTIMESPAN_DAY In the current server, sets the maximum amount of time an established connection is allowed to live when it has no activity at

default: 30 GTIMESPAN_SECOND type: gint64 cmake directive: OIOSERVERCNXTIMEOUTNEVER* range: 0 -> 1 GTIMESPAN_DAY In the current server, sets the maximum amount of time a connection is allowed to live, since its creation by the accept() call, whether it presents activity or not. default: 2 GTIMESPAN_HOUR type: gint64 cmake directive: OIOSERVERCNXTIMEOUTPERSIST* range: 0 -> 1 GTIMESPAN_DAY Enable by default, unnecessary access logs are ignored. Set to false to log every access default: TRUE* type: gboolean cmake directive: OIOSERVERDISABLENOISYACCESS_LOGS* Maximum number of simultaneous incoming connections. Set to 0 for an automatic detection (50% of available file descriptors). default: 0* type: guint cmake directive: OIOSERVERFDMAXPASSIVE* range: 0 -> 65536 TODO: to be documented default: FALSE* type: gboolean cmake directive: OIOSERVERLOG_OUTGOING* Sets how many bytes bytes are released when the LEAN request is received by the current 'meta' service. default: 0* type: guint cmake directive: OIOSERVERMALLOCTRIMSIZE_ONDEMAND* range: 0 -> 2147483648 Sets how many bytes bytes are released when the LEAN request is received by the current 'meta' service. default: 0* type: guint cmake directive: OIOSERVERMALLOCTRIMSIZE_PERIODIC* range: 0 -> 2147483648 Enable server-side performance data collection. default: FALSE* type: gboolean cmake directive: OIOSERVERPERFDATA_ENABLED* How many bases may be decached each time the background task performs its Dance of Death default: 1* type: guint cmake directive: OIOSERVERPERIODICDECACHEMAX_BASES* range: 1 -> 4194304 How long may the decache routine take default: 500 GTIMESPAN_MILLISECOND type: gint64 cmake directive: OIOSERVERPERIODICDECACHEMAX_DELAY* range: 1 GTIMESPANMILLISECOND -> 1 * GTIMESPANMINUTE In ticks / jiffies, with approx. 1 tick per second. 0 means never default: 0* type: guint cmake directive: OIOSERVERPERIODICDECACHEPERIOD* range: 0 -> 1048576 In the current server, sets how long a thread can remain unused before considered as idle (and thus to be stopped) default: 30 GTIMESPAN_SECOND type: gint64 cmake directive: OIOSERVERPOOLMAXIDLE* range: 1 -> 1 GTIMESPAN_HOUR In the current server, sets the maximum number of threads for the pool responsible for the TCP connections (threading model is one thread per request being managed, and one request at once per TCP connection). Set to 0 for no limit. default: 0* type: gint cmake directive: OIOSERVERPOOLMAXTCP* range: 0 -> 1073741824 In the current server, sets the maximum number of threads for pool responsible for the UDP messages handling. UDP is only used for quick synchronisation messages during MASTER elections. Set ot 0 for no limit. default: 4* type: gint cmake directive: OIOSERVERPOOLMAXUDP* range: 0 -> 1073741824 In the current server, sets how many threads may remain unused. This value is, in the GLib, common to all the threadpools. default: 20* type: gint cmake directive: OIOSERVERPOOLMAXUNUSED* range: 0 -> 1073741824 Anti-DDoS counter-measure. In the current server, sets the maximum amount of time a queued TCP event may remain in the queue. If an event is polled and the thread sees the event stayed longer than that delay, the connection is immediately closed. Keep this value rather high because the connection closing doesn't involve a reply that will help the client to retry with an exponential back-off. default: 60 GTIMESPAN_SECOND type: gint64 cmake directive: OIOSERVERQUEUEMAXDELAY* range: 10 GTIMESPANMILLISECOND -> 1 * GTIMESPANHOUR In the current server, set the time threshold after which a warning is sent when a file descriptor stays longer than that in the queue of the Thread Pool. default: 4 GTIMESPAN_SECOND type: gint64 cmake directive: OIOSERVERQUEUEWARNDELAY* range: 10 GTIMESPANMILLISECOND -> 1 * GTIMESPANHOUR Maximum amount of memory used to decode ASN.1 requests. This MUST be more than server.request.max_size, or big requests will always be denied. default: 4294967296* type: guint64 cmake directive: OIOSERVERREQUESTMAXMEMORY* range: 1048576 -> 68719476736 How long a request might take to run on the server

This value is used to compute a deadline for several waitings (DB cache, manager of elections, etc). Common to all sqliterepo-based services, it might be overriden. default: 300 GTIMESPAN_SECOND type: gint64 cmake directive: OIOSERVERREQUESTMAXRUN_TIME* range: 1 GTIMESPANMILLISECOND -> 1 * GTIMESPANHOUR Maximum size of an ASN.1 request to a 'meta' service. A service will refuse to serve a request bigger than this. Be careful to have enough memory on the system. default: 1073741824* type: guint cmake directive: OIOSERVERREQUESTMAXSIZE* range: 1048576 -> 4294966272 Default statsd host address. default: * type: string cmake directive: OIOSERVERSTATSD_HOST* Default statsd port. default: 8125* type: guint cmake directive: OIOSERVERSTATSD_PORT* range: 0 -> 100000 In jiffies, how often the periodic task that calls malloc_trim() is fired. default: 3600* type: guint cmake directive: OIOSERVERTASKMALLOCTRIM_PERIOD* range: 0 -> 86400 In the current server, sets the maximum length of the queue for UDP messages. When that number has been reached and a new message arrives, the message will be dropped. default: 512* type: guint cmake directive: OIOSERVERUDPQUEUEMAX* range: 0 -> 2147483648 In the current server, sets the maximum amount of time a queued UDP frame may remain in the queue. When unqueued, if the message was queued for too long, it will be dropped. The purpose of such a mechanism is to avoid clogging the queue and the whole election/cache mechanisms with old messages, those messages having already been resent. default: 1 GTIMESPAN_SECOND type: gint64 cmake directive: OIOSERVERUDPQUEUETTL* range: 100 GTIMESPANMILLISECOND -> 1 * GTIMESPANDAY Should the socket to meta~ services use TCP_FASTOPEN flag. default: TRUE* type: gboolean cmake directive: OIOSOCKETFASTOPEN_ENABLED* Set to a non-zero value to explicitely force a RCVBUF option on client sockets to gridd services. Set to 0 to keep the OS default. default: 0* type: guint cmake directive: OIOSOCKETGRIDD_RCVBUF* range: 0 -> 16777216 Set to a non-zero value to explicitely force a SNDBUF option on client sockets to gridd services. Set to 0 to keep the OS default. default: 0* type: guint cmake directive: OIOSOCKETGRIDD_SNDBUF* range: 0 -> 16777216 When socket.linger.enabled is set to TRUE, socket.linger.delat tells how the socket remains in the TIME_WAIT state after the close() has been called. default: 1* type: gint64 cmake directive: OIOSOCKETLINGER_DELAY* range: 0 -> 60 Set to TRUE to allow the LINGER behavior of TCP sockets, as a default. The connections then end with a normal FIN packet, and go in the TIMEWAIT state for a given delay. Setting to FALSE causes connections to be closed with a RST packet, then avoiding a lot of TCP sockets in the TIMEWAIT state. default: FALSE* type: gboolean cmake directive: OIOSOCKETLINGER_ENABLED* Should the socket to meta~ services receive the TCP_NODELAY flag. When TRUE, it disables the Naggle's algorithm. default: TRUE* type: gboolean cmake directive: OIOSOCKETNODELAY_ENABLED* Advice the libcurl to use that buffer size for the interactions with the proxy. libcurl gives no guaranty to take the advice into account. Set to 0 to let the default. libcurl applies its own range, usually between 1k and 512k. default: 0* type: guint cmake directive: OIOSOCKETPROXY_BUFLEN* range: 0 -> 512000 Should the sockets opened by the application receive the TCP_QUICKACK flag. default: TRUE* type: gboolean cmake directive: OIOSOCKETQUICKACK_ENABLED* Advice the libcurl to use that buffer size for the interactions with the rawx services. libcurl gives no guaranty to take the advice into account. Set to 0 to let the

libcurl applies its own range, usually between 1k and 512k. default: 0* type: guint cmake directive: OIOSOCKETRAWX_BUFLEN* range: 0 -> 512000 Sets the heat value over which a database is considered hot default: 1* type: guint32 cmake directive: OIOSQLITEREPOCACHEHEATTHRESHOLD* range: 1 -> 2147483648 Triggers an alert when a thread tries to wait for an overloaded database. default: TRUE* type: gboolean cmake directive: OIOSQLITEREPOCACHEHEAVYLOADALERT* Triggers an error when a thread waits for an overloaded database. default: FALSE* type: gboolean cmake directive: OIOSQLITEREPOCACHEHEAVYLOADFAIL* Minimum number of requests per second opening the database to consider the database overloaded. default: 64* type: guint32 cmake directive: OIOSQLITEREPOCACHEHEAVYLOADMIN_LOAD* range: 1 -> 10000 Number of kibibytes (kiB) of cache per open DB. default: 0* type: guint cmake directive: OIOSQLITEREPOCACHEKBYTESPER_DB* range: 0 -> 1048576 Sets how long we (unit)wait on the lock around the databases. Keep it small. default: 1 GTIMESPAN_SECOND type: gint64 cmake directive: OIOSQLITEREPOCACHETIMEOUTLOCK* range: 1 GTIMESPANMILLISECOND -> 1 * GTIMESPANHOUR Sets how long a worker thread accepts for a DB to become available. default: 20 GTIMESPAN_SECOND type: gint64 cmake directive: OIOSQLITEREPOCACHETIMEOUTOPEN* range: 1 GTIMESPANMILLISECOND -> 1 * GTIMESPANMINUTE Sets the period after the return to the IDLE/COLD state, during which the recycling is forbidden. 0 means the base won't be decached. default: 1 GTIMESPAN_MILLISECOND type: gint64 cmake directive: OIOSQLITEREPOCACHETTLCOOL* range: 0 -> 1 GTIMESPAN_DAY Sets the period after the return to the IDLE/HOT state, during which the recycling is forbidden. 0 means the base won't be decached. default: 1 GTIMESPAN_MILLISECOND type: gint64 cmake directive: OIOSQLITEREPOCACHETTLHOT* range: 0 -> 1 GTIMESPAN_DAY In the current sqliterepo repository, sets the maximum amount of time a periodical task may take, while checking for the timeouts on the outbound connections. default: 5 GTIMESPAN_SECOND type: gint64 cmake directive: OIOSQLITEREPOCLIENTTIMEOUTALERTIFLONGER* range: 1 GTIMESPANMILLISECOND -> 1 * GTIMESPANHOUR How to check the database before executing a DBDUMP request. 0: no check. 1: quickcheck (the default). 2: integrity_check. default: 1* type: gint cmake directive: OIOSQLITEREPODUMPCHECKTYPE* range: 0 -> 2 Size of data chunks when copying a database using the chunked DBPIPEFROM/DBDUMP mechanism. Also used as block size for internal database copies. default: 8388608* type: gint64 cmake directive: OIOSQLITEREPODUMPCHUNKSIZE* range: 4096 -> 2146435072 Maximum size of a database dump. If a base is bigger than this size, it will be refused the synchronous DBRESTORE mechanism, and will be ansynchronously restored with the DBDUMP/DBPIPEFROM mechanism. This value will be clamped to server.request.maxsize - 1024. default: 1072693248* type: gint64 cmake directive: OIOSQLITEREPODUMPMAXSIZE* range: 0 -> 4293918720 How many concurrent DB dumps may happen in a single process. default: 1024* type: gint cmake directive: OIOSQLITEREPODUMPS_MAX* range: 1 -> G_MAXINT How long to wait for a concurrent DB dump to finish. Should be set accordingly with sqliterepo.outgoing.timeout.req.resync. default: 4 GTIMESPAN_MINUTE type: gint64 cmake directive: OIOSQLITEREPODUMPS_TIMEOUT* range: 1 GTIMESPANSECOND -> 1 * GTIMESPANDAY Allow the role of MASTER in any election. default: TRUE* type: gboolean cmake directive: OIOSQLITEREPOELECTIONALLOWMASTER* In the current sqliterepo repository, sets the amount of time after which a MASTER election will drop its status and return to the NONE status. This helps recycling established-but-unused elections, and save Zookeeper nodes. Keep this value greater than sqliterepo.election.delay.expire_slave to avoid rotating the master

default: 240 GTIMESPAN_MINUTE type: gint64 cmake directive: OIOSQLITEREPOELECTIONDELAYEXPIRE_MASTER* range: 1 GTIMESPANMILLISECOND -> 7 * GTIMESPANDAY In the current sqliterepo repository, sets the amount of time an election without status will be forgotten default: 30 GTIMESPAN_MINUTE type: gint64 cmake directive: OIOSQLITEREPOELECTIONDELAYEXPIRE_NONE* range: 1 GTIMESPANSECOND -> 1 * GTIMESPANDAY Sets the amount of time after which a pending election (without any status change) will be reset and return to the NONE status. This helps recovering after a ZooKeeper failure. Should be set between sqliterepo.zk.timeout and sqliterepo.election.wait.delay. default: 12 GTIMESPAN_SECOND type: gint64 cmake directive: OIOSQLITEREPOELECTIONDELAYEXPIRE_PENDING* range: 1 GTIMESPANSECOND -> 7 * GTIMESPANDAY In the current sqliterepo repository, sets the amount of time after which a SLAVE election will drop its status and return to the NONE status. This helps recycling established-but-unused elections, and save Zookeeper nodes. default: 210 GTIMESPAN_MINUTE type: gint64 cmake directive: OIOSQLITEREPOELECTIONDELAYEXPIRE_SLAVE* range: 1 GTIMESPANSECOND -> 7 * GTIMESPANDAY In the current sqliterepo repository, sets the amount of time after which a failed election leaves its FAILED status and returns to the NONE status. default: 250 GTIMESPAN_MILLISECOND type: gint64 cmake directive: OIOSQLITEREPOELECTIONDELAYRETRY_FAILED* range: 1 GTIMESPANMILLISECOND -> 7 * GTIMESPANDAY Should the election mecanism try to recreate missing DB? default: FALSE* type: gboolean cmake directive: OIOSQLITEREPOELECTIONLAZYRECOVER* Only effective when built in DEBUG mode. Dump the long critical sections around the elections lock, when the lock is held for longer than this threshold (in microseconds). default: 500* type: gint64 cmake directive: OIOSQLITEREPOELECTIONLOCKALERT_DELAY* range: 1 -> 60 GTIMESPAN_SECOND In the current sqliterepo repository, sets the amount of time spent in an election resolution that will make a worker thread won't wait at all and consider that election is stalled. default: 15 GTIMESPAN_MINUTE type: gint64 cmake directive: OIOSQLITEREPOELECTIONNOWAITAFTER* range: 1 GTIMESPANMILLISECOND -> GMAXINT64 Check of the election is pending since too long. If it is, don't way for it. default: FALSE* type: gboolean cmake directive: OIOSQLITEREPOELECTIONNOWAITENABLE* In the current sqliterepo repository, sets the maximum amount of time a worker thread is allowed to wait for an election to get its final status. default: 20 GTIMESPAN_SECOND type: gint64 cmake directive: OIOSQLITEREPOELECTIONWAITDELAY* range: 100 GTIMESPANMILLISECOND -> 1 * GTIMESPANHOUR In the current sqliterepo repository, while loop-waiting for a final election status to be reached, this value sets the unit amount of time of eacch unit wait on the lock. Keep this value rather small to avoid waiting for too long, but not too small to avoid dumping CPU cycles in active waiting. default: 4 GTIMESPAN_SECOND type: gint64 cmake directive: OIOSQLITEREPOELECTIONWAITQUANTUM* range: 100 GTIMESPANMILLISECOND -> 1 * GTIMESPANHOUR Set the 'journal_mode' sqlite pragma when opening a database. 0 = DELETE, 1 = TRUNCATE, 2 = PERSIST, 3 = MEMORY. default: 3* type: guint cmake directive: OIOSQLITEREPOJOURNAL_MODE* range: 0 -> 3 Sets the connection timeout when exchanging versions between databases replicas. default: 5.0* type: gdouble cmake directive: OIOSQLITEREPOOUTGOINGTIMEOUTCNX_GETVERS* range: 0.01 -> 30.0 Sets the connection timeout sending a replication request. default: 5.0* type: gdouble cmake directive: OIOSQLITEREPOOUTGOINGTIMEOUTCNX_REPLICATE* range: 0.01 -> 30.0 Set the connection timeout during RPC to ask for a SLAVE database to be resync on its MASTER default: 5.0* type: gdouble cmake directive: OIOSQLITEREPOOUTGOINGTIMEOUTCNX_RESYNC* range: 0.01 -> 30.0 Sets the connection timeout when pinging a peer database. Keep it small. Only used when UDP is disabled. default: 1.0* type: gdouble cmake directive: OIOSQLITEREPOOUTGOINGTIMEOUTCNX_USE* range: 0.01 -> 30.0 Sets the global timeout when performing a version exchange RPC. Keep it rather small, to let election quickly fail on network troubles. Only used when UDP is disabled. default: 10.0* type: gdouble cmake directive: OIOSQLITEREPOOUTGOINGTIMEOUTREQ_GETVERS* range: 0.01 ->

Sets the global timeout when sending a replication RPC, from the current MASTER to a SLAVE default: 10.0* type: gdouble cmake directive: OIOSQLITEREPOOUTGOINGTIMEOUTREQ_REPLICATE* range: 0.01 -> 30.0 Sets the global timeout of a RESYNC request sent to a 'meta' service. Sent to a SLAVE DB, the RESYNC operation involves a RPC from the SLAVE to the MASTER, then a DB dump on the MASTER and restoration on the SLAVE. Thus that operation might be rather long, due to the possibility of network/disk latency/bandwidth, etc. Should be set accordingly with sqliterepo.dumps.timeout default: 241.0* type: gdouble cmake directive: OIOSQLITEREPOOUTGOINGTIMEOUTREQ_RESYNC* range: 0.01 -> 300.0 Sets the global timeout when pinging a peer database. Keep it small. default: 10.0* type: gdouble cmake directive: OIOSQLITEREPOOUTGOINGTIMEOUTREQ_USE* range: 0.01 -> 30.0 In the current sqliterepo repository, sets the page size of all the databases used. This value only has effects on databases created with that value. default: 4096* type: guint cmake directive: OIOSQLITEREPOPAGE_SIZE* range: 512 -> 1048576 Sets how many bytes bytes are released when the LEAN request is received by the current 'meta' service. default: 67108864* type: guint cmake directive: OIOSQLITEREPORELEASE_SIZE* range: 1 -> 2147483648 In the current server, sets the maximum amount of time a queued DBUSE, DBGETVERS or DB_PIPEFROM request may remain in the queue. If the message was queued for too long before being sent, it will be dropped. The purpose of such a mechanism is to avoid clogging the queue and the whole election/cache mechanisms with old messages, those messages having already been resent. default: 4 GTIMESPAN_SECOND type: gint64 cmake directive: OIOSQLITEREPOREPOACTIVEQUEUE_TTL* range: 100 GTIMESPANMILLISECOND -> 60 * GTIMESPANSECOND Maximum number of simultaneous outgoing connections. Set to 0 for an automatic detection (2% of available file descriptors). default: 512* type: guint cmake directive: OIOSQLITEREPOREPOFDMAX_ACTIVE* range: 0 -> 65536 Minimum number of simultaneous outgoing connections. default: 32* type: guint cmake directive: OIOSQLITEREPOREPOFDMIN_ACTIVE* range: 0 -> 65536 Sets how many versions exchanges are allowed during the journey in the election FSM. default: 5* type: guint cmake directive: OIOSQLITEREPOREPOGETVERSATTEMPTS* range: 1 -> 64 . default: 100 GTIMESPAN_MILLISECOND type: gint64 cmake directive: OIOSQLITEREPOREPOGETVERSDELAY* range: 10 GTIMESPANMILLISECOND -> 1 * GTIMESPANMINUTE Sets how many databases can be kept simultaneously open (in use or idle) in the current service. If defined to 0, it is set to 48% of available file descriptors. default: 0* type: guint cmake directive: OIOSQLITEREPOREPOHARDMAX* range: 0 -> 131072 Sets how many databases can be in use at the same moment in the current service. If defined to 0, it is set to sqliterepo.repo.hard_max. default: 0* type: guint cmake directive: OIOSQLITEREPOREPOSOFTMAX* range: 0 -> 131072 Memory size ceiling we try to honor. The check is performed while closing databases. Set to -1 to autodetect the max RSS from the resource limits (see `man getrlimit` for more information) or 0 to disable. The autodetection considers the environment and is not aware of all the processes that could share that environment. default: -1* type: gint64 cmake directive: OIOSQLITEREPORSS_MAX* range: -1 -> G_MAXINT64 . default: 10 GTIMESPAN_SECOND type: gint64 cmake directive: OIOSQLITEREPOSERVICEEXITTTL* range: 1 GTIMESPANMILLISECOND -> 1 * GTIMESPANHOUR Should the sendto() of DBUSE be deferred to a thread-pool. Only effective when `oioudp_allowed` is set. Set to 0 to keep the OS default. default: TRUE* type: gboolean cmake directive: OIOSQLITEREPOUDP_DEFERRED* For testing purposes. The value simulates ZK sharding on different connection to the same

default: 1* type: guint cmake directive: OIOSQLITEREPOZKMUXFACTOR* range: 1 -> 64 Sets the maximum number of reconnections to the ZK that remains acceptable. Beyond that limit, we consider the current service has been disconnected, and that it lost all its nodes. default: 5* type: guint cmake directive: OIOSQLITEREPOZKRRDTHRESHOLD* range: 1 -> 2147483648 Sets the time window to remember the reconnection events, on a ZK connection. default: 30* type: guint cmake directive: OIOSQLITEREPOZKRRDWINDOW* range: 1 -> 4095 Should the synchronism mechanism shuffle the set of URL in the ZK connection string? Set to yes as an attempt to a better balancing of the connections to the nodes of the ZK cluster. default: TRUE* type: gboolean cmake directive: OIOSQLITEREPOZK_SHUFFLE* Sets the timeout of the zookeeper handle (in the meaning of the zookeeper client library) default: 10 GTIMESPAN_SECOND type: gint64 cmake directive: OIOSQLITEREPOZK_TIMEOUT* range: 1 GTIMESPANMILLISECOND -> 1 * GTIMESPANHOUR In the current sqlx-based service, tells the period (in seconds) at which the service will refresh its load-balancing information. default: 1* type: gint64 cmake directive: OIOSQLXLBREFRESHPERIOD* range: 1 -> 60 Sets the timeout for the requests issued to the SQLX services. default: 30.0* type: gdouble cmake directive: OIOSQLXOUTGOINGTIMEOUTREQ* range: 0.01 -> 60.0 Allow the sqlx client DB_USE RPC to be sent via UDP instead of the default TCP channel. default: TRUE* type: gboolean cmake directive: OIOUDPALLOWED* Allow the services to self-assign to the volume they find in their configuration. This was the default behaviour in pre 5.2 versions of oio-sds. default: TRUE* type: gboolean cmake directive: OIOVOLUMELAZY_LOCK* These variables are only active when the ENBUG option has been specified on the cmake command line. Set the probability of fake timeout failures, in any client RPC to a 'meta' service default: 0* type: gint32 cmake directive: OIOENBUGCLIENTFAKETIMEOUT_THRESHOLD* range: 0 -> 100 In testing situations, sets a delay to add to any service listing request. default: 0* type: gint64 cmake directive: OIOENBUGCSLISTDELAY* range: 0 -> 60 GTIMESPAN_MINUTE In testing situations, sets a delay to add to service pre-serialize operations. default: 0* type: gint64 cmake directive: OIOENBUGCSSERIALIZEDELAY* range: 0 -> 60 GTIMESPAN_MINUTE CID of the base to force a double master condition on. default: * type: string cmake directive: OIOENBUGELECTIONDOUBLEMASTER_DB* Proxy probability to fail with 503 on a /cs route default: 0* type: gint32 cmake directive: OIOENBUGPROXYCSFAILURE_RATE* range: 0 -> 100 Really, do not use this! default: 0* type: gint32 cmake directive: OIOENBUGPROXYREQUESTFAILURE_ALONE* range: 0 -> 100 Really, do not use this! default: 0* type: gint32 cmake directive: OIOENBUGPROXYREQUESTFAILURE_FIRST* range: 0 -> 100 Really, do not use this! default: 0* type: gint32 cmake directive: OIOENBUGPROXYREQUESTFAILURE_LAST* range: 0 -> 100 Really, do not use this! default: 0* type: gint32 cmake directive: OIOENBUGPROXYREQUESTFAILURE_MIDDLE* range: 0 -> 100 In testing situations, sets the average ratio of requests failing for a fake reason (from the peer). This helps testing the retrial mechanisms. default: 0* type: gint32 cmake directive: OIOENBUGSERVERREQUESTFAILURE_THRESHOLD* range: 0 -> 100 In testing situations, sets the average ratio of requests failing for a fake reason (from the peer). This helps testing the retrial mechanisms. default: 0* type: gint32 cmake directive: OIOENBUGSQLITEREPOCLIENTFAILURE_THRESHOLD* range: 0 -> 100 In testing situations, sets the average ratio of requests failing for a fake reason (connection timeout). This helps testing the retrial mechanisms and the behavior under strong network split-brain. default: 1 GTIMESPAN_SECOND type: gint64 cmake directive: OIOENBUGSQLITEREPOCLIENTTIMEOUT_PERIOD* range: 1 GTIMESPANMILLISECOND -> 1 * GTIMESPANDAY Fake Error rate on synchronism RPC (a.k.a. ZK) default: 0* type: gint32 cmake directive: OIOENBUGSQLITEREPOSYNCHROFAILURE* range: 0 -> 100