code: protected int getMajorVersion() {
          return this.cluster.authenticate(this.passwordAuthenticator).clusterManager().info(5,TimeUnit.SECONDS).getMinVersion().major();
      }
docs: Get the major version of Couchbase server, that is 4.x or 5.x
  
  @return