Description
In Watson, when adding Indexer role to a node, indexer RAM quota and indexer storage mode are mandatory. There are no defaults for either, and must be required input from user when setting up the role via couchbase-cli.
If defaults are desired, then the default value must be generated by couchbase-cli and passed to indexer, so effectively, indexer always sees a storageMode and indexer quota settings.
This is required as storageMode is sometimes sent to indexer after indexer is started. So the indexer process has no way of knowing in a particular setup if the user desires a default, or if the user will simply make a selection a little while later. If we select a default, that is locked in, and the user cannot change it. Hence defaulting these two parameters must happen in the place where the user's intent to not make a choice can be asserted – ie, couchbase-cli and UI.