You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 9, 2022. It is now read-only.
I used the configuration suggested in #408 to create forest replicas when bootstrapping MarkLogic. The ml local wipe command does not delete the forests.
Im curious, are they deleted if you perform a second wipe after the first one? Which version of Roxy and MarkLogic are you using? Thanks for the details, I will try to reproduce this soon.
I tried this, but unfortunately they aren't deleted after a second wipe. I'm using MarkLogic 8.0-6 and the April-2017-dev version of Roxy
I'm not sure where this would be done in the Roxy code, but I believe that forests need to be "disconnected" from their replicas before deleting either. Perhaps that's the issue? For example:
xquery version "1.0-ml";
import module namespace admin = "http://marklogic.com/xdmp/admin" at "/MarkLogic/admin.xqy";
let $config := admin:get-configuration()
let $forest := xdmp:forest("forest-1")
let $replica-forest := xdmp:forest("forest-1r")
let $new-config := admin:forest-remove-replica($config, $forest, $replica-forest)
return admin:save-configuration($new-config)
I used the configuration suggested in #408 to create forest replicas when bootstrapping MarkLogic. The
ml local wipe
command does not delete the forests.After
ml local bootstrap
: Database and ForestsAfter
ml local wipe
: Database was deleted but Forests were notThis is on an ml-vagrant generated Linux cluster, using MarkLogic 8.0-6 and the April-2017-dev version of Roxy.
The text was updated successfully, but these errors were encountered: