Fixed #147: replica forests now supported with content-forests-per-host

I'll review and append a commit to this pull.. somewhere this weekend..


Sent from Samsung Mobile

-------- Oorspronkelijk bericht --------
Van: Paxton Hare <notifications@github.com> 
Datum: 21-11-2014  22:09  (GMT+01:00) 
Aan: marklogic/roxy <roxy@noreply.github.com> 
Cc: Geert <geert.josten@xs4all.nl> 
Onderwerp: Re: [roxy] Fixed #147: replica forests now supported with content-forests-per-host (#307) 
 
In deploy/lib/xquery/setup.xqy:

>      let $replica-names := $assignment/as:replica-names/as:replica-name[fn:string-length(fn:string(.)) > 0]
> +    let $replica-names := (
> +      $replica-names,
> +      if (fn:exists($forests-per-host)) then
> +        (: generates too many names actually, filtered later :)
> +        let $hosts := admin:group-get-host-ids(admin:get-configuration(), xdmp:group())
actually, you did it properly in the function below (line 793). setup:get-group($config)

—
Reply to this email directly or view it on GitHub.