Repository navigation
fix(v0.9.5): single-flight status polling, lock-free chunk count cache, and MajorUpgrade bump - #104
Merged
Merged
Conversation
…e, and MajorUpgrade bump
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.
Summary
Fixes live WebUI Settings -> Cloud Drives hangs observed on busy 2M+ chunk nodes (
2,289,988chunks /43,063active indexer files) and bumps the package version from0.9.4to0.9.5so Windows Installer executes a guaranteedMajorUpgradethat stops and restartsQuorumRAGDaemoncleanly.Root Causes Addressed
crates/quorum-ui/assets/app.js):app.jspreviously ran two competing unguardedsetInterval(checkReindexStatus)timers (1 s and 2 s) with no in-flight deduplication and no timeout, plus an unguardedrefreshCacheStatsinterval and an unboundedfetch('/api/cloud-drives').GET /api/reindex/statusrequests filled Chromium's 6-connection-per-origin HTTP/1.1 pool (25+queued requests atstatus: 0), starvingGET /api/cloud-drivesandGET /api/fs/browse-foldersand freezing Cloud Drives on"Loading cloud drive discovery status...".vector_store.rs,engine.rs,reindex.rs,health.rs,cloud_drives.rs):GET /api/reindex/statusandGET /api/healthexecuted full LanceDBtable.count_rows(None).awaiton every poll tick, andhealth_handlerranHardwareTelemetry::probe()synchronously on the Tokio worker thread.build_cloud_drives_status_response_with_contextexecuteddir_exists_livesynchronously inside an async loop on the Tokio worker pool and waited without timeout on SQLitelist_catalog_file_identities()during active indexer writes.0.9.4->0.9.5):0.9.4MSI over an already-installed0.9.4service skipped replacing and restartingQuorumRAGDaemon. Bumping all cross-OS packaging manifests to0.9.5triggers a guaranteed WiXMajorUpgrade.Changes
AtomicUsizecached row count +count_fast()(instant within 5 s, 200 ms bounded LanceDB refresh fallback) inVectorStore&StorageEngine, updated on open, insert, delete, and count; wired into/api/reindex/statusand/api/health(plusspawn_blockingforHardwareTelemetry::probe()).dir_exists_livechecks into a singletokio::task::spawn_blockingpass and boundedlist_catalog_file_identities()to 2 s inbuild_cloud_drives_status_response_with_context.checkReindexStatusonto one adaptive guarded timer (2 s active / 6 s idle,reindexStatusInFlight, 5 s timeout), guardedrefreshCacheStats(cacheStatsInFlight, 5 s timeout), boundedfetchCloudDrivesDatato 15 s with clear Retry fallback, painted selected Settings tabs immediately on click, and bumped asset cache-busters to?v=20261125a.0.9.4->0.9.5): SyncedCargo.toml,wix/QuorumRAG.wxs,scripts/package.ps1,packaging/linux/build_packages.sh, andpackaging/macos/build_packages.sh.count_fast_tracks_inserts_and_deletes_without_blocking(quorum-storage) andtest_single_flight_status_polling_and_bounded_cloud_drives_fetch(quorum-ui).