github / github/codeql-cli-binaries

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

Aperta
#51 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
CLI
Lingua principale
Nessun dato sulla lingua
Stelle
1k
Fork
184
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Ambito
cli, database
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.