Repository navigation
Async rebuild index - #2118
Merged
Merged
Async rebuild index#2118
Conversation
Coverage summary from CodacySee diff coverage on Codacy
Coverage variation details
Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: Diff coverage details
Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: See your quality gate settings Change summary preferences |
tae898
pushed a commit
to humemai/arcadedb-embedded-python
that referenced
this pull request
Jun 28, 2026
* fix: async rebuild index draft * fix: rebuild index now works also in asynch mode Fixed issue ArcadeData#2097
mergify Bot
added a commit
that referenced
this pull request
Aug 9, 2026
…in /studio [skip ci] Bumps [postcss](https://github.com/postcss/postcss) from 8.5.25 to 8.5.26. Release notes *Sourced from [postcss's releases](https://github.com/postcss/postcss/releases).* > 8.5.26 > ------ > > * Fixed `list.split()` regression (by [`@lazerg`](https://github.com/lazerg)). > * Track symlinks in path protection in source map loading (by [`@drengir1`](https://github.com/drengir1)). Changelog *Sourced from [postcss's changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md).* > 8.5.26 > ------ > > * Fixed `list.split()` regression (by [`@lazerg`](https://github.com/lazerg)). > * Track symlinks in path protection in source map loading (by [`@drengir1`](https://github.com/drengir1)). Commits * [`07b2577`](postcss/postcss@07b2577) Release 8.5.26 version * [`47de6b9`](postcss/postcss@47de6b9) Update CI * [`1493a83`](postcss/postcss@1493a83) Fix Rule#selectors losing the empty selector ([#2129](https://redirect.github.com/postcss/postcss/issues/2129)) * [`180db16`](postcss/postcss@180db16) Typo * [`29e9e00`](postcss/postcss@29e9e00) Resolve symlinks before the previous-source-map containment check ([#2125](https://redirect.github.com/postcss/postcss/issues/2125)) * [`3ba8f84`](postcss/postcss@3ba8f84) Update dependencies * [`87e72f6`](postcss/postcss@87e72f6) Update lock file * [`caaeeb9`](postcss/postcss@caaeeb9) Upgrade nanoid to fix infinite loop on zero size ([#2124](https://redirect.github.com/postcss/postcss/issues/2124)) * [`3609b6f`](postcss/postcss@3609b6f) Explain how to type plugin options * [`fbad419`](postcss/postcss@fbad419) docs: show ESM and TypeScript plugin declaration ([#2118](https://redirect.github.com/postcss/postcss/issues/2118)) * See full diff in [compare view](postcss/postcss@8.5.25...8.5.26) [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- Dependabot commands and options You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request includes several changes to improve the handling of asynchronous tasks and the management of indexes in the database. The most important changes include refactoring the
DatabaseAsyncAbstractCallbackTaskclass, adding a new classDatabaseAsyncExecuteAlone, updating theDatabaseAsyncExecutorandDatabaseAsyncExecutorImplinterfaces, and modifying theTypeIndexclass to use a helper method for accessing the first underlying index.Asynchronous Task Management:
engine/src/main/java/com/arcadedb/database/async/DatabaseAsyncAbstractCallbackTask.java: Refactored the class to accept aCountDownLatchvia a constructor, improving flexibility.engine/src/main/java/com/arcadedb/database/async/DatabaseAsyncCompletion.java: Updated the class to use the new constructor ofDatabaseAsyncAbstractCallbackTask.engine/src/main/java/com/arcadedb/database/async/DatabaseAsyncExecuteAlone.java: Added a new classDatabaseAsyncExecuteAlonethat extendsDatabaseAsyncAbstractCallbackTaskto execute a callback in isolation.engine/src/main/java/com/arcadedb/database/async/DatabaseAsyncExecutor.java: Added a methodgetThreadCountto return the number of asynchronous threads.engine/src/main/java/com/arcadedb/database/async/DatabaseAsyncExecutorImpl.java: Implemented thegetThreadCountmethod and updated thewaitCompletionmethod to useDatabaseAsyncAbstractCallbackTask. [1] [2] [3]Index Management:
engine/src/main/java/com/arcadedb/index/TypeIndex.java: Refactored multiple methods to use a new helper methodgetFirstUnderlyingIndexfor accessing the first underlying index, improving code readability and maintainability. [1] [2] [3] [4] [5] [6] [7]Additional Changes:
engine/src/main/java/com/arcadedb/schema/BucketIndexBuilder.java: Modified thecreatemethod to handle asynchronous tasks more effectively by usingDatabaseAsyncExecuteAloneandCountDownLatch. [1] [2] [3] [4] [5]