As discussed below, XQSync offers two choices when XDMP-SPECIALPROP is thrown: 
disable COPY_PROPERTIES or disable maintain-last-modified.

Of course there are other options. XQSync is open-source, so you could try to 
patch it for the behavior you want. Or mlcp might meet your needs, or perhaps 
you would be better off with flexible replication or database replication.

-- Mike

On 18 Apr 2014, at 06:22 , Danny Sinang <[email protected]> wrote:

> We recently upgraded to ML 7.0-2.3 and started seeing these 
> "XDMP-SPECIALPROP- cannot update server maintained properties" errors 
> whenever our XQSYNC cron job runs.
> 
> The only way we've been able to silence these errors was to set "Maintain 
> last modified" to false for the affected database.
> 
> Problem is, we need "Maintain last modified" set to true. We never had this 
> issue when we were using ML6.
> 
> Is this a known incompatibility between ML6 and ML7 ?
> 
> Does XQSync have an option to not modify the last modified date ? Or is there 
> an ML7 workaround for this ? Or should we now consider using MLCP instead ?
> 
> Regards,
> Danny
> 
> 
> 
> 
> 
> 
> 
> On Tue, Apr 1, 2014 at 1:10 PM, Michael Blakeley <[email protected]> wrote:
> That github bug is for an aesthetic issue. Fixing it won't fix your problem.
> 
> Instead you should disable maintain-last-modified on the target database, do 
> your sync, then reenable it.
> 
> -- Mike
> 
> On 1 Apr 2014, at 09:51 , Raghu <[email protected]> wrote:
> 
> > Hi All,
> >
> >       I had several documents in one of my ML 7.x DB in a different 
> > environment and I wanted to clear the DB excluding a few documents, So I'd 
> > xqsync'ed it as a back up  to my localhost ML DB which is ML 6.x. Now when 
> > I'm trying to sync them back to ML 7.x DB and I'm getting the folowing error
> >
> > XDMP-SPECIALPROP- cannot update server maintained properties
> >
> > I'm using document properties to additionally hold values other than 
> > modified date and I want them to be retained while I sync them back to ML 
> > 7.x DB so I'm using COPY_PROPERTIES=true while syncing. I assumed that it 
> > was backward compatible. Is this a privilege related issue? I see that 
> > there is an open issue in github
> >
> > https://github.com/marklogic/xqsync/issues/6
> >
> > Please let me know how to modify/retain the document properties. Is this 
> > not supported anymore?
> > _______________________________________________
> > General mailing list
> > [email protected]
> > http://developer.marklogic.com/mailman/listinfo/general
> 
> _______________________________________________
> General mailing list
> [email protected]
> http://developer.marklogic.com/mailman/listinfo/general
> 
> _______________________________________________
> General mailing list
> [email protected]
> http://developer.marklogic.com/mailman/listinfo/general

_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to