1. 28 11月, 2019 1 次提交
    • O
      More improvements and fixes to generic config infra · 28beb05a
      Oran Agra 提交于
      - Adding is_valid_fn and update_fn, both return 1 for success and 0 for failure with an optional error message.
      - Bugfix in handling boundary check of unsigned numeric types (was boundaries as signed)
      - Adding more numeric types to generic mechanism: uint, ulonglong, long, time_t, off_t
      - More verbose error replies ("argument must be between" in out of range CONFIG SET (like config file parsing)
      28beb05a
  2. 26 11月, 2019 2 次提交
    • O
      Additional config.c refactory and bugfixes · e0cc3c99
      Oran Agra 提交于
      - add capability for each config to have a callback to check if value is valid and return error string
        will enable converting many of the remaining custom configs into generic ones (reducing the x4 repetition for set,get,config,rewrite)
      - add capability for each config to  to run some update code after config is changed (only for CONFIG SET)
        will also enable converting many of the remaining custom configs into generic ones
      - add capability to move default values from server.h and server.c to config.c
        will reduce many excess lines in server.h and server.c (plus, no need to rebuild the entire code base when a default change 8-))
      
      other behavior changes:
      - fix bug in bool config get (always returning 'yes')
      - fix a bug in modifying jemalloc-bg-thread at runtime (didn't call set_jemalloc_bg_thread, due to bad merge conflict resolution (my fault))
      - side effect when a failed attempt to enable activedefrag at runtime, we now respond with -ERR and not with -DISABLED
      e0cc3c99
    • S
      Merge pull request #6598 from oranagra/module-hook-test · a1b65481
      Salvatore Sanfilippo 提交于
      try to fix an unstable test (module hook for loading progress)
      a1b65481
  3. 25 11月, 2019 3 次提交
  4. 23 11月, 2019 2 次提交
  5. 22 11月, 2019 4 次提交
  6. 21 11月, 2019 8 次提交
  7. 20 11月, 2019 3 次提交
  8. 19 11月, 2019 17 次提交