Hi Geert; I am a little concerned doing that for the following reason. I see that each time a forest is added in that manner, a new database.xml is created. When the configuration gets changed in our environment, it is written across a 14 node cluster. The cluster may be very busy at that time.
In the past when making multiple configuration changes very quickly, some configuration information was lost. We need to make a forest detach and attach of 16 forests to support our current architecture. It needs to be done in a quick and seemless fashion. Thanks Stan -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Geert Josten Sent: Thursday, July 30, 2009 8:20 AM To: General Mark Logic Developer Discussion Subject: [MarkLogic Dev General] RE: Attaching multiple forests to a database Hi Stan, You can call the function multiple times. As long as you do so in a single request, it is all handled in the same transaction. Kind regards, Geert > Drs. G.P.H. Josten Consultant http://www.daidalos.nl/ Daidalos BV Source of Innovation Hoekeindsehof 1-4 2665 JZ Bleiswijk Tel.: +31 (0) 10 850 1200 Fax: +31 (0) 10 850 1199 http://www.daidalos.nl/ KvK 27164984 De informatie - verzonden in of met dit emailbericht - is afkomstig van Daidalos BV en is uitsluitend bestemd voor de geadresseerde. Indien u dit bericht onbedoeld hebt ontvangen, verzoeken wij u het te verwijderen. Aan dit bericht kunnen geen rechten worden ontleend. > From: [email protected] > [mailto:[email protected]] On Behalf Of > Jarris, Stan C. (LNG-DAY) > Sent: donderdag 30 juli 2009 14:17 > To: [email protected] > Subject: [MarkLogic Dev General] Attaching multiple forests > to a database > > Hello; > > > > I would like to attach multiple forests to a single database > in one transaction. It appears that the > admin:database-attach-forest() built in function will only > attach one forest at a time. I am using version 4.0. In the > admin screen I can attach several forests in one transaction. > So I am hoping there is a way to do this with the built in > functions that are available. > > > > > > > > Thanks > > > > Stan Jarris > > > > > > _______________________________________________ General mailing list [email protected] http://xqzone.com/mailman/listinfo/general _______________________________________________ General mailing list [email protected] http://xqzone.com/mailman/listinfo/general
