fix(evocrm): pin ClickHouse 26.3.20.7 — latest >= 26.6 exige AVX2 e crasha em CPUs antigas (Xeon E3 v2/Ivy Bridge) - #170
Open
sistemabritto wants to merge 1 commit into
Conversation
…asha em CPUs antigas) Desde o release 26.6 o build padrao do ClickHouse passou de x86-64-v2 (SSE4.2) para x86-64-v3 (AVX2). Em hosts sem AVX2 (ex: Xeon E3-12xx v2 / Ivy Bridge, comum em VPS), o servico evocrm_clickhouse morre em loop com exit 132 (Illegal instruction) e derruba o evoflow, que fica 'Waiting for clickhouse'. Fix: pin em 26.3.20.7 (linha 26.3 LTS, ultima compativel com x86-64-v2), mesmo padrao ja usado no instalador standalone do ClickHouse (23.8.8.20-alpine). Ref: ClickHouse/ClickHouse#105019
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resumo
Desde o release 26.6 (jun/2026) o build padrão do ClickHouse passou a alvo x86-64-v3 (AVX2) em vez de x86-64-v2 (SSE4.2). Em hosts sem AVX2 (ex:
Intel Xeon E3-12xx v2 / Ivy Bridge, comum em VPS baratas), o containerevocrm_clickhousemorre em loop comexit 132—Illegal instruction (core dumped)— e oevoflowfica preso emWaiting for clickhouse....Solução
Pin da imagem em
clickhouse/clickhouse-server:26.3.20.7(última linha 26.3 LTS, compatível com x86-64-v2 / SSE4.2). O mesmo padrão já usado no instalador standalone do ClickHouse dentro do script (23.8.8.20-alpine).Arquivos alterados
SetupOrionlinha ~42254:image: clickhouse/clickhouse-server:latest→26.3.20.7(com comentário explicativo)SetupOrionlinha ~42442:pullcommand atualizadoTestado
69.197.142.186(Xeon E3-12xx v2, apenas AVX + SSE4.2)evocrm_clickhousesubiu healthy (Ready, sem SIGILL)evoflowconectou e iniciou:Nest application successfully started1/1Referência
ClickHouse 26.6 changelog: "The default x86 build now targets x86-64-v3 (AVX2) instead of x86-64-v2 (SSE4.2). If your CPU does not support AVX2, use the `amd64compat` build."
PR upstream: ClickHouse/ClickHouse#105019