Details
-
Task
-
Resolution: Done
-
Major
-
None
-
7.1.0
-
None
-
1
Description
What's the issue?
As stated in MB-47393, it's possible not to define an alternate address/port for a given service. By default, if 'cbbackupmgr' finds a zero-valued port, the backup/restore for the service will be skipped (this will be logged).
Logging Function |
func handleServiceError(err error, who, what string) bool {
|
if rest.IsServiceNotAvailable(err) || rest.IsServiceNotSupported(err) {
|
clog.Log("(Couchbase) (%s) Will not be transferring %s because %s", who, what, errutil.Unwrap(err))
|
return true
|
}
|
|
return false
|
}
|
What's the task?
We should investigate whether we should fallback to the internal hostname/port if not alternate hostname/port is available.
If we should be, this change would probably need to be make in 'gocbcore' since it appears to have the same behavior as us in this regard (but I may be wrong).
Attachments
Issue Links
- relates to
-
MB-47393 cbworkloadgen: When custom port used for UI and n1ql service only error observed as "Host does not have data service",
- Open