[BUG] `/channels/<id>/messages/_search` fails intermittently on postgres after metadata change
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 38/100
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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
- Linguagem predominante
- Java
- Estrelas
- 227
- Forks
- 81
- Merge médio
- 3d 6h
- PRs com merge (30d)
- 15
Preparar o ambiente
- Inclui um Dockerfile ou arquivo Docker Compose
- Sem modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de OpenIntegrationEngine/engine
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
OpenIntegrationEngine/engine#485 ·
Mantenedores costumam responder em até 1 dia
-
enhancement
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 62/100
OpenIntegrationEngine/engine#478 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
OpenIntegrationEngine/engine#355 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
OpenIntegrationEngine/engine#347 ·
Mantenedores costumam responder em até 1 dia
-
Fix call-home in test runAberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
OpenIntegrationEngine/engine#313 ·
Mantenedores costumam responder em até 1 dia
Todas as issues de OpenIntegrationEngine/engine
Issues semelhantes
-
NullPointerException when a `DeserializationProblemHandler` returns `null` for `byte[]` (single value unwrapped) and `char[]` elementsTalvez já em andamento @Marti2203 assumiu hoje. Aberta
Dificuldade 2/5 Meio dia Facilidade para iniciantes 88/100
FasterXML/jackson-databind#6300 ·
Mantenedores costumam responder em até 1 dia
-
content good first issue
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 95/100
cpinitiative/usaco-guide#6699 ·
Mantenedores costumam responder em até 1 dia
-
BC remittance upload: a claim MSP refused (S03) is saved with a blank status instead of refused (F)Talvez já em andamento Um pull request vinculado a esta issue está aberto ou já foi mesclado. Abertatype: bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 88/100
carlos-emr/carlos#4933 ·
Mantenedores costumam responder em até 1 dia
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
apache/rocketmq-dashboard#6925 ·
Mantenedores costumam responder em até 3 dias
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
Vakore/ZappierGames#147 ·