Database checks: ∞% reported as Failing when counter is zero; no way to acknowledge/mute a check
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 35/100
Direzione di ricerca
The issue describes the “Table lock contention” check using MariaDB’s Table_locks_waited counter, but does not name the implementation files or tests. Start by locating that check and tracing how it handles a zero denominator and reports its status. The second request needs per-check acknowledgement or muting, with a rule for when a muted finding should resurface; done means the zero-data case is not reported as failing and admins can dismiss a check as described.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Setup
- Nextcloud [your version]
- MariaDB 10.11.18 on Debian 12, same VM as Nextcloud
1. Divide-by-zero shown as Failing
After FLUSH STATUS (or soon after a restart), "Table lock contention" (Table_locks_waited) shows ∞% of table locks had to wait and is marked Failing. When the denominator is zero the check should report "not enough data" or be skipped.
2. No way to acknowledge or mute a check
Some findings can't be resolved by the admin (e.g. #1224, or join/scan rates caused by Nextcloud core queries). Once investigated, there's no way to dismiss them, so they stay red indefinitely. Please consider a per-check acknowledge/mute option, ideally one that resurfaces if the value changes significantly.
Related: #1224
How to use GitHub
- Please use the 👍 reaction to show that you are affected by the same issue.
- Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
- Subscribe to receive notifications on status change and new comments.
Steps to reproduce
Expected behaviour
Tell us what should happen
Actual behaviour
Tell us what happens instead, if possible also add a screenshot
Server configuration
Web server: Apache/Nginx
Database: MySQL/Maria/SQLite/PostgreSQL
PHP version: 8.5/8.4/8.3
Nextcloud version: (see Nextcloud admin page)
List of activated apps
If you have access to your command line run e.g.:
sudo -u www-data php occ app:list
from within your Nextcloud installation folder
Nextcloud configuration
If you have access to your command line run e.g.:
sudo -u www-data php occ config:list system
from within your Nextcloud installation folder
Browser
Browser name: Firefox/Chrome/Safari/…
Browser version: 124/125/…
Operating system: Windows/Ubuntu/Mac/…
Browser log
Insert your browser log here, this could for example include:
a) The javascript console log
b) The network log
c) ...
- Lingua principale
- JavaScript
- Stelle
- 133
- Fork
- 67
- Merge medio
- 22h 55m
- PR unite (30g)
- 53
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di nextcloud/serverinfo
-
Database checks: `Select_full_join` warning is caused by the setup checks' own schema introspectionAperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
nextcloud/serverinfo#1245 ·
I maintainer di solito rispondono entro 1 giorno
-
0. Needs triage enhancement
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
nextcloud/serverinfo#1248 ·
I maintainer di solito rispondono entro 1 giorno
-
1. to develop bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
nextcloud/serverinfo#1224 · 5 commenti · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
0. Needs triage bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 55/100
nextcloud/serverinfo#1223 ·
I maintainer di solito rispondono entro 1 giorno
-
0. Needs triage bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 55/100
nextcloud/serverinfo#1221 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di nextcloud/serverinfo
Issue simili
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
I maintainer di solito rispondono entro 1 giorno
-
help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
Aethelgard-Systems/agent-postbox#32 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
SamuelNDCE/plume#42 ·
I maintainer di solito rispondono entro 1 giorno
-
[UI] Theme Provider Props table overflows on mobile viewportsForse già presa @SajanBisht l’ha presa oggi. Apertaframework/gatsby help wanted kind/bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
layer5io/layer5#8264 · 1 commento ·
I maintainer di solito rispondono entro 3 giorni