Hi,

A few questions about this:

1. What (if anything) should be done for options like these which have "!" ?

        /* Switch xlator options (Distribute special case) */

        { .key        = "cluster.switch",

          .voltype    = "cluster/distribute",

          .option     = "!switch",

          .type       = NO_DOC,

          .op_version = 3,

          .flags      = VOLOPT_FLAG_CLIENT_OPT

        },


2. How should the changed key names handled?

In glusterd:

        { .key        = "cluster.switch-pattern",

          .voltype    = "cluster/switch",

          .option     = "pattern.switch.case",

          .type       = NO_DOC,

          .op_version = 3,

          .flags      = VOLOPT_FLAG_CLIENT_OPT

        },


In dht src code:
        /* switch option */

        { .key  = {"pattern.switch.case"},

          .type = GF_OPTION_TYPE_ANY,

          .op_version = {3},

          .flags = OPT_FLAG_CLIENT_OPT,

        },



Regards,
Nithya
_______________________________________________
Gluster-devel mailing list
[email protected]
http://lists.gluster.org/mailman/listinfo/gluster-devel

Reply via email to