I can only think of wanting to clear the Expanded Tree Cache when you are doing 
performance testing and want to compare cold to warm caches. MarkLogic 
automatically invalidates documents in the cache when they change, so there 
should be no impact on your running system other than slowing down performance.

I think there are two possibilities:
        * the schema validation started working for some other reason, and only 
happened to coincide with clearing the ETC
        * there is a bug in schema handling interacting with the cache. In that 
case, you would only clear it if you changed the schema, and only until a bug 
fix is available.

Yours,
Damon 


-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Tim
Sent: Monday, July 14, 2014 7:27 PM
To: 'MarkLogic Developer Discussion'
Subject: Re: [MarkLogic Dev General] Strict validation error encountered in ML7 
but not in ML6

BTW, when is it NOT a good idea to clear the expanded tree cache?

Tim

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Tim
Sent: Monday, July 14, 2014 6:10 PM
To: 'MarkLogic Developer Discussion'
Subject: Re: [MarkLogic Dev General] Strict validation error encountered in ML7 
but not in ML6

Hi Mary,

Clearing the expanded tree cache after updating the schema did the trick!

Thank you,

Tim



_______________________________________________
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