Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-7670

Config replication apparently causes some changes of order of keys in config triggering useless config saves

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.1.0
    • 2.0, 2.0.1
    • ns_server
    • Security Level: Public
    • None

    Description

      I've spotted this when I was testing mnesia replacement stuff.

      Here's what I saw:

      root@beta:~/src/altoros/moxi/ns_server# rlwrap ../send-diag-eval lh:9000 -q

      {erlang:phash2(lists:sort(ns_config:get_kv_list())), erlang:phash2(ns_config:get_kv_list())}

      .

      {75190102,102377435}
      root@beta:~/src/altoros/moxi/ns_server# rlwrap ../send-diag-eval lh:9000 -q {erlang:phash2(lists:sort(ns_config:get_kv_list())), erlang:phash2(ns_config:get_kv_list())}.{75190102,102377435}

      root@beta:~/src/altoros/moxi/ns_server# rlwrap ../send-diag-eval lh:9000 -q

      {erlang:phash2(lists:sort(ns_config:get_kv_list())), erlang:phash2(ns_config:get_kv_list())}

      .

      {75190102,75190102}

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            deepkaran.salooja Deepkaran Salooja
            alkondratenko Aleksey Kondratenko (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty