Expand my Community achievements bar.

What does the async state "temp-async" indicate in a merged custom index? Help finding documentation on this.

Avatar

Level 4

We have a customization of an OOTB index that after our last deployment was merged and the "async" attribute was set to "temp-async". 

 

        jcr:primaryType="oak:QueryIndexDefinition"
        async="temp-async"
        async-previous="[async,nrt]"

 

I'm having trouble finding documentation on this, so I'm hoping someone here can help. 

9 Replies

Avatar

Community Advisor

@Preston  Please check the below documentation, you can set async="async" if it wants to run as background thread

 

  • The async property which must be set to async. This sends the index update process to a background thread.

https://experienceleague.adobe.com/en/docs/experience-manager-65/content/implementing/deploying/depl...

 

 

Avatar

Level 4

Right. So what causes it to get set to "temp-async" instead?

Avatar

Level 7

Hi @Preston 

I believe your answer is here: https://issues.apache.org/jira/browse/OAK-10265

There is a small comment that mentions the temp-async also in the Apache Oak implementation: https://github.com/apache/jackrabbit-oak/blob/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak...

Also if you need to understand more about indexes, this one is useful as well: https://lists.apache.org/thread/q6kjgdc8fmx3f7tlx4dzvnnf93mmvttp

Avatar

Level 4

Thanks. That's the best I could do in terms of documentation as well. I was hoping to find some official Adobe documentation that discussed this state and how to get an index to exit this state. 

Avatar

Level 4

To put a fine point on this. That Oak issue is from 2023. That should be repaired in AEMaaCS, right? 

Avatar

Administrator

@Preston Did you find the suggestions helpful? Please let us know if you require more information. Otherwise, please mark the answer as correct for posterity. If you've discovered a solution yourself, we would appreciate it if you could share it with the community. Thank you!



Kautuk Sahni

Avatar

Level 4

Not really. I think it's helpful in providing documentation on what the "async" attribute should be set to, but not what the "temp-async" state is or how it got there, which is my question. 

Avatar

Level 4

Tethich provided the most useful answer, but it's the same links I found my way to and it's not official Adobe documentation. It's strange that this isn't documented anywhere. 

Avatar

Administrator

@Preston could you please create a Documentation request on the AEM Ideation section: https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager-ideas/idb-p/adobe-experien... I'll share this with the PM for the same. 



Kautuk Sahni