github / github/codeql-cli-binaries

`evaluation/runQueries` query server command fails silently if it fails to acquire the database lock

Offen
#51 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
CLI
Vorherrschende Sprache
Keine Sprachdaten
Sterne
1k
Forks
184
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Hi!

When having several query servers running on the same database (eg: VSCode + CodeQL.nvim) the first one running a query acquires a lock for the database, and running a query using `evaluation/runQueries` command on the second one fails silently without returning the reason of the failure.

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Start at the evaluation/runQueries query server command and trace how database-lock acquisition failures are handled. Reproduce the case with two query servers using the same database; done means the second command returns the reason it could not acquire the lock instead of failing silently.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Bereich
cli, database
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.