@rpcbase/server 0.111.0 → 0.112.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -409,11 +409,6 @@ set-proc-title yes
409
409
  #
410
410
  proc-title-template "{title} {listen-addr} {server-mode}"
411
411
 
412
- # Set the local environment which is used for string comparison operations, and
413
- # also affect the performance of Lua scripts. Empty String indicates the locale
414
- # is derived from the environment variables.
415
- locale-collate ""
416
-
417
412
  ################################ SNAPSHOTTING ################################
418
413
 
419
414
  # Save the DB to disk.
@@ -629,10 +624,11 @@ repl-diskless-sync-delay 5
629
624
  repl-diskless-sync-max-replicas 0
630
625
 
631
626
  # -----------------------------------------------------------------------------
632
- # WARNING: Since in this setup the replica does not immediately store an RDB on
633
- # disk, it may cause data loss during failovers. RDB diskless load + Redis
634
- # modules not handling I/O reads may cause Redis to abort in case of I/O errors
635
- # during the initial synchronization stage with the master.
627
+ # WARNING: RDB diskless load is experimental. Since in this setup the replica
628
+ # does not immediately store an RDB on disk, it may cause data loss during
629
+ # failovers. RDB diskless load + Redis modules not handling I/O reads may also
630
+ # cause Redis to abort in case of I/O errors during the initial synchronization
631
+ # stage with the master. Use only if you know what you are doing.
636
632
  # -----------------------------------------------------------------------------
637
633
  #
638
634
  # Replica can load the RDB it reads from the replication link directly from the
@@ -642,22 +638,19 @@ repl-diskless-sync-max-replicas 0
642
638
  # In many cases the disk is slower than the network, and storing and loading
643
639
  # the RDB file may increase replication time (and even increase the master's
644
640
  # Copy on Write memory and replica buffers).
645
- # However, when parsing the RDB file directly from the socket, in order to avoid
646
- # data loss it's only safe to flush the current dataset when the new dataset is
647
- # fully loaded in memory, resulting in higher memory usage.
648
- # For this reason we have the following options:
641
+ # However, parsing the RDB file directly from the socket may mean that we have
642
+ # to flush the contents of the current database before the full rdb was
643
+ # received. For this reason we have the following options:
649
644
  #
650
645
  # "disabled" - Don't use diskless load (store the rdb file to the disk first)
646
+ # "on-empty-db" - Use diskless load only when it is completely safe.
651
647
  # "swapdb" - Keep current db contents in RAM while parsing the data directly
652
648
  # from the socket. Replicas in this mode can keep serving current
653
- # dataset while replication is in progress, except for cases where
649
+ # data set while replication is in progress, except for cases where
654
650
  # they can't recognize master as having a data set from same
655
651
  # replication history.
656
652
  # Note that this requires sufficient memory, if you don't have it,
657
653
  # you risk an OOM kill.
658
- # "on-empty-db" - Use diskless load only when current dataset is empty. This is
659
- # safer and avoid having old and new dataset loaded side by side
660
- # during replication.
661
654
  repl-diskless-load disabled
662
655
 
663
656
  # Master send PINGs to its replicas in a predefined interval. It's possible to
@@ -942,9 +935,9 @@ replica-priority 100
942
935
  # "nopass" status. After "resetpass" the user has no associated
943
936
  # passwords and there is no way to authenticate without adding
944
937
  # some password (or setting it as "nopass" later).
945
- # reset Performs the following actions: resetpass, resetkeys, resetchannels,
946
- # allchannels (if acl-pubsub-default is set), off, clearselectors, -@all.
947
- # The user returns to the same state it has immediately after its creation.
938
+ # reset Performs the following actions: resetpass, resetkeys, off,
939
+ # -@all. The user returns to the same state it has immediately
940
+ # after its creation.
948
941
  # (<options>) Create a new selector with the options specified within the
949
942
  # parentheses and attach it to the user. Each option should be
950
943
  # space separated. The first character must be ( and the last
@@ -1782,9 +1775,9 @@ aof-timestamp-enabled no
1782
1775
  # published in the header of the bus packets so that other nodes will be able to
1783
1776
  # correctly map the address of the node publishing the information.
1784
1777
  #
1785
- # If tls-cluster is set to yes and cluster-announce-tls-port is omitted or set
1778
+ # If cluster-tls is set to yes and cluster-announce-tls-port is omitted or set
1786
1779
  # to zero, then cluster-announce-port refers to the TLS port. Note also that
1787
- # cluster-announce-tls-port has no effect if tls-cluster is set to no.
1780
+ # cluster-announce-tls-port has no effect if cluster-tls is set to no.
1788
1781
  #
1789
1782
  # If the above options are not used, the normal Redis Cluster auto-detection
1790
1783
  # will be used instead.
@@ -1951,20 +1944,13 @@ list-max-listpack-size -2
1951
1944
  # etc.
1952
1945
  list-compress-depth 0
1953
1946
 
1954
- # Sets have a special encoding when a set is composed
1947
+ # Sets have a special encoding in just one case: when a set is composed
1955
1948
  # of just strings that happen to be integers in radix 10 in the range
1956
1949
  # of 64 bit signed integers.
1957
1950
  # The following configuration setting sets the limit in the size of the
1958
1951
  # set in order to use this special memory saving encoding.
1959
1952
  set-max-intset-entries 512
1960
1953
 
1961
- # Sets containing non-integer values are also encoded using a memory efficient
1962
- # data structure when they have a small number of entries, and the biggest entry
1963
- # does not exceed a given threshold. These thresholds can be configured using
1964
- # the following directives.
1965
- set-max-listpack-entries 128
1966
- set-max-listpack-value 64
1967
-
1968
1954
  # Similarly to hashes and lists, sorted sets are also specially encoded in
1969
1955
  # order to save a lot of space. This encoding is only used when the length and
1970
1956
  # elements of a sorted set are below the following limits:
@@ -2181,10 +2167,11 @@ rdb-save-incremental-fsync yes
2181
2167
  # to accumulate hits.
2182
2168
  #
2183
2169
  # The counter decay time is the time, in minutes, that must elapse in order
2184
- # for the key counter to be decremented.
2170
+ # for the key counter to be divided by two (or decremented if it has a value
2171
+ # less <= 10).
2185
2172
  #
2186
- # The default value for the lfu-decay-time is 1. A special value of 0 means we
2187
- # will never decay the counter.
2173
+ # The default value for the lfu-decay-time is 1. A special value of 0 means to
2174
+ # decay the counter every time it happens to be scanned.
2188
2175
  #
2189
2176
  # lfu-log-factor 10
2190
2177
  # lfu-decay-time 1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rpcbase/server",
3
- "version": "0.111.0",
3
+ "version": "0.112.0",
4
4
  "license": "SSPL-1.0",
5
5
  "main": "./index.js",
6
6
  "bin": {