realTimeErrorCount is never incremented #53
Closed
opened 2026-10-14 15:34:56 +00:00 by KofTwentyTwo
·
0 comments
No Branch/Tag Specified
develop
release/1.1
main
qualification/central-actions-20261031
dependabot/maven/develop/maven-minor-and-patch-752a7e0ec3
dependabot/github_actions/develop/github-actions-2833be4e3e
feature/orb-0.8-track
feature/orb-0.7.18
feature/orb-0.7.17
release/0.1.0
feature/orb-standardize-release-0.1.0
feature/restore-release-0.1.0-bom
release/1.0
release/0.2.0
feature/orb-standardize-release-1.1
feature/orb-standardize-release-1.0
feature/orb-standardize-release-0.2.0
feature/orb-main-hotfix-standardization
feature/shared-codeql
feature/orb-0712-stable-gate
feature/orb-rc-worker
feature/orb-0.7.11
feature/central-ci
feature/single-node-replicas
fix/system-session-instance
dependabot/maven/develop/org.testcontainers-testcontainers-2.0.5
ci/release-rc-secrets-inherit
feature/ui-api-1.6
docs/rc11-release-note-correction
feature/cluster-caches
feature/quiet-index-bookkeeping-audits
fix/help-bundle-version
feature/health-checks
feature/help-bundle
feature/tables-populated-defaults
feature/typeahead-suggest
feature/record-search-details
feature/exclude-classified-fields
fix/realtime-error-count
feature/orb-0.6.9
feature/arch-status-api
feature/release-rc-automation
feature/quick-search-data-driven-config
feature/ga-only-release-tags
feature/quick-search-snake-table-names
feature/developer-panel
chore/qrun-repo-standard
feature/GH-35-search-admin-tooling
feature/record-search-provider-signed
fix/28-insert-display-values
feature/record-search-provider
feature/GH-28-insert-display-values
feature/prepare-release-0.2.1
v1.1.0-RC.16
v1.1.0-RC.15
v1.1.0-RC.14
v1.1.0-RC.13
v1.1.0-RC.12
v1.1.0-RC.11
v1.1.0-RC.10
v1.1.0-RC.9
v1.1.0-RC.8
v1.1.0-RC.7
v1.1.0-RC.6
v1.1.0-RC.5
v1.1.0-RC.4
v1.1.0-RC.3
v0.2.0
v0.1.0
v0.1.0-RC.1
Labels
Clear labels
architecture
bug
dependencies
documentation
duplicate
enhancement
github_actions
good first issue
help wanted
invalid
java
question
release:rc
secuurity
wontfix
Architecture review: coupling, cohesion, UI API
Something isn't working
Improvements or additions to documentation
This issue or pull request already exists
New feature or request
Pull requests that update GitHub Actions code
Good for newcomers
Extra attention is needed
This doesn't seem right
Pull requests that update java code
Further information is requested
Merging this develop PR cuts the next release candidate
This will not be worked on
No labels
Milestone
No items
No Milestone
Projects
Clear projects
No projects
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: QRun-IO/qbit-quick-search#53
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Found while triaging the kof22 in-app help pass (KofTwentyTwo/Website-Backend#196).
What: the index status row's
realTimeErrorCount(metadata/QuickSearchTableMetaDataHelper.java:102, read bydiagnostics/StatusDiagnostics.java:110and the status APIapi/QuickSearchStatus.java:75) is only ever written as 0 (processes/AbstractIndexingStep.java:182,processes/config/AddSearchIndexSteps.java:283,config/QuickSearchConfigPrimer.java:259). When real-time indexing fails,listeners/QuickSearchRecordChangeListener.java:274logs and recordsquick_search_failed_eventrows but never increments the count, so status always shows 0 real-time errors.Fix: increment the table's count by the number of failed events when they are recorded (never failing the user's write), keep the reset on full reindex or basepull, and say so in the field's help text.