Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

[BUG] `/channels/<id>/messages/_search` fails intermittently on postgres after metadata change

Abierto
#458 0 comentarios 0 reacciones 0 asignados Ver en GitHub

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
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
java, postgresql

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

bug

Repro:

  1. Deploy channel on pg mirthdb
  2. Make at least 5 calls to /channels/<id>/messages/_search to get the plan cached
  3. Change the type of the metadata
  4. Make the call to /channels/<id>/messages/_search again (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

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de OpenIntegrationEngine/engine

Todos los issues de OpenIntegrationEngine/engine

Issues similares

Más issues de Java

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.