-
-
Notifications
You must be signed in to change notification settings - Fork 245
CoroutineDescendantAxis.kt revamp. #764
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Thanks so much for opening this pull request and for helping to improve SirixDB 🚀 |
Hey, thanks a lot, but I think we need to first check if the right sibling is on the same page (meaning it'll be cached already). Only if it's not we can use another trx to fetch it in the meantime. In general I'm not sure if synchronization overhead might be way too much, I don't really know, but I guess it might be. |
Oh, saw that you did this, but you can use |
BTW: the integration tests fail |
…is's shouldParallelizeSubtree method with an accurate calculation using PageReadOnlyTrx.pageKey(). still tests fail because of NPE regarding the atomicBoolean initialization.
How may I use the logger? It's always null. I tried the logger.debug() throughout the code locally. |
You also most likely get the descendantCount of nodes directly. Furthermore, you can navigate with I don't know why your logger seems to be null, but maybe you're missing a configuration? Over here the precondition fails?
|
…eDescendantAxis Replace blocking queue with Channel, use moveToFirstChild()/moveToRightSibling() methods, and access descendantCount directly for better performance.
No description provided.