Let an application set how long a PostgreSQL query waits for a lock
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 65/100
Línea de trabajo
Start by reading the PostgreSQL driver's Options in dbkit/postgres and compare how dbkit/sqlite handles its busy timeout. Trace where PostgreSQL connection options are sent to the server so LockTimeout can apply to every connection, with zero preserving the server default. Done when the option sets lock_timeout for each connection and leaves the default unchanged at zero.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
An application should be able to cap how long a PostgreSQL query waits for a lock another connection holds.
Current state: dbkit/postgres Options only takes MaxConns. Without lock_timeout a query waits as long as the lock is held. An address can carry lock_timeout, but an application that wants a default has no option to set it. dbkit/sqlite already takes a busy timeout for the same job.
Proposal: add a LockTimeout duration to Options and send it to the server as lock_timeout on every connection. Zero keeps the server default.
Trigger: a downstream application found a save waiting without limit behind another one.
- Lenguaje dominante
- Go
- Estrellas
- 69
- Forks
- 3
- Merge medio
- 9 h 11 min
- PR fusionados (30 d)
- 38
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de gopherium/framework
-
bug help wanted
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
enhancement help wanted
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
enhancement help wanted
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Los mantenedores suelen responder en 1 día
-
enhancement help wanted
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
bug help wanted
Dificultad 3/5 1-2 días Aptitud para principiantes 66/100
Los mantenedores suelen responder en 1 día
Todos los issues de gopherium/framework
Issues similares
-
[Bug]: ap gateway image build cannot find local policies on WindowsPosiblemente ocupada @Jayzilva la tomó hoy. AbiertoAspect/Configuration Severity/Major
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
wso2/api-platform#3912 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
keyxmakerx/Chronicle#1721 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Gentleman-Programming/gentle-ai#5720 ·
Los mantenedores suelen responder en 1 día
-
compress: block buffers get re-zeroed on every call, and the zeroing is immediately overwrittenAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
ClickHouse/ch-go#1218 ·
Los mantenedores suelen responder en 13 días