[BUG] `/channels/<id>/messages/_search` fails intermittently on postgres after metadata change
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 38/100
Línea de trabajo
Start from the channel message search path that hits /channels/<id>/messages/_search and the SQL against D_MCM1 (MESSAGE_ID / METADATA_ID). Trace how Postgres prepared statements or JDBC statement caches are created and reused after a metadata type change. Done when the same pid can search after the type change without HTTP 500 or cached plan must not change result type. No source files or tests are named in the issue.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Repro:
- Deploy channel on pg mirthdb
- Make at least 5 calls to
/channels/<id>/messages/_searchto get the plan cached - Change the type of the metadata
- Make the call to
/channels/<id>/messages/_searchagain (repeatedly since it might be from a different pid)
Expected:
- the call succeeds
Actual:
- When the same pid is reused, the cache fails with HTTP 500
- PG Server records this error:
2026-09-21 04:51:50.195 UTC [79] ERROR: cached plan must not change result type
2026-09-21 04:51:50.195 UTC [79] STATEMENT: SELECT *
FROM D_MCM1
WHERE MESSAGE_ID = $1
AND METADATA_ID = $2
- Lenguaje dominante
- Java
- Estrellas
- 227
- Forks
- 81
- Merge medio
- 3 d 15 h
- PR fusionados (30 d)
- 13
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
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 OpenIntegrationEngine/engine
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
OpenIntegrationEngine/engine#496 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
OpenIntegrationEngine/engine#485 ·
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
OpenIntegrationEngine/engine#478 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
OpenIntegrationEngine/engine#355 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
OpenIntegrationEngine/engine#347 ·
Los mantenedores suelen responder en 1 día
Todos los issues de OpenIntegrationEngine/engine
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Vakore/ZappierGames#147 ·
-
Post 1.11.2 to SpigotMCAbiertospigotmc
Dificultad 1/5 Menos de una hora Aptitud para principiantes 92/100
Dans-Plugins/Wild-Pets#356 ·
Los mantenedores suelen responder en 1 día
-
Post 1.16.2 to SpigotMCAbiertospigotmc
Dificultad 1/5 Menos de una hora Aptitud para principiantes 85/100
Dans-Plugins/Medieval-Roleplay-Engine#371 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
eddyizm/tempus#1220 · 1 comentario ·
Los mantenedores suelen responder en 2 días
-
ReplaceSchema画面のSQL表示で先頭/末尾に余分な空白が入るPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abiertobug javascript
Dificultad 1/5 Menos de una hora Aptitud para principiantes 95/100
dbflute/dbflute-intro#690 ·
Los mantenedores suelen responder en 1 día