foreach(tenant){
IndexCreation.CreateIndexes(indexManifestWithTheTypes)
}
foreach(tenant){
foreach(indexDefinition) {
if(indexDefinition has changed){
IndexCreation.PutIndex(indexDefinition)
}
}
}
foreach(tenant){
foreach(indexDefinition) {
if(indexDefinition has changed){
IndexCreation.PutIndex(indexDefinition)
pauseForUpTo60SecondsWhileIndexesAreStale()
}
}
}
At first, we tackled the problem of many indexes getting marked as stale and re-indexed when they hadn't actually changed, so we added a client-side check for equality first:
--
You received this message because you are subscribed to a topic in the Google Groups "RavenDB - 2nd generation document database" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ravendb/OvOCUnHPmPE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ravendb+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hibernating Rhinos Ltd
Oren Eini l CEO l Mobile: + 972-52-548-6969
Office: +972-4-622-7811 l Fax: +972-153-4-622-7811
--
You received this message because you are subscribed to the Google Groups "RavenDB - 2nd generation document database" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ravendb+u...@googlegroups.com.
Hibernating Rhinos Ltd
Oren Eini l CEO l Mobile: + 972-52-548-6969
Office: +972-4-622-7811 l Fax: +972-153-4-622-7811
--
You received this message because you are subscribed to the Google Groups "RavenDB - 2nd generation document database" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ravendb+u...@googlegroups.com.