Jeelan Poola:
There are two things reported in this bug.
1) Create 4 node mix clusters (6.6.3 and 7.0.2), Try to add a new handler from 6.6.3
In this, the 6.6.3's "Add Function" logic kicks in. This has a broken Add Function logic - Fires an import API asynchronously, disregards the API response totally, adds the function to the browser's list of functions and routes the user to JavaScript code editor. This approach has numerous issues - list will display the function whose import failed, all actions on this function will fail (as it does not actually exist in the backend), the function will disappear once the resync is done etc. The import failure is what Deepika Verma reported in https://issues.couchbase.com/browse/MB-48319.
These were fixed recently in 7.0.2.
2) Create 4 node mix clusters (6.6.3 and 7.0.2), Try to add a new handler from 7.0.2
This is a bug introduced by my fix for the issues listed above. In a mixed mode cluster, the call to retrieve scopes for all buckets fails. A variable that holds a Map of all keyspaces ends up being null - I am missing a null check where I access this Map.
Srinivasan Raman Could you please help check this once? I wonder if some UI errors are getting masked
Vikas Chaudhary Could you confirm what behaviour you see on the REST end points?