Skip to content
This repository was archived by the owner on Nov 26, 2021. It is now read-only.
This repository was archived by the owner on Nov 26, 2021. It is now read-only.

CockroachDB 19.2 incompatibility #3

@damboscolo

Description

@damboscolo

Hello, I had a crash when CockroachDB updates its version from 19.1 to 19.2, I got this error:

{ “error”: { ... }, “log”: “GenServer #PID<0.4252.0> terminating
** (DBConnection.ConnectionError) client #PID<0.7469.0> stopped: ** (MatchError) no match of right hand side value: <<0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 4, 19, 0, 0, 0, 2, 0, 0, 0, 1, 0, 0, 0, 32, 51, 51, 51, 56, 48, 50, 100, 99, 48, 101, 102, 98, 50, 98, 49, 101, 99, 102, 101, 100, 50, 50, 101, 52, 50, 55, ...>>
    (postgrex) lib/postgrex/type_module.ex:897: Postgrex.DefaultTypes.“Elixir.Postgrex.Extensions.Array”/8
    (postgrex) lib/postgrex/protocol.ex:2866: Postgrex.Protocol.rows_recv/4
    (postgrex) lib/postgrex/protocol.ex:1895: Postgrex.Protocol.recv_execute/5
    (postgrex) lib/postgrex/protocol.ex:1769: Postgrex.Protocol.bind_execute/4
    (db_connection) lib/db_connection/holder.ex:293: DBConnection.Holder.holder_apply/4
    (db_connection) lib/db_connection.ex:1255: DBConnection.run_execute/5
    (db_connection) lib/db_connection.ex:1342: DBConnection.run/6
    (db_connection) lib/db_connection.ex:540: DBConnection.parsed_prepare_execute/5

I've saw that the issue that is the purpose of this fork were fixed on the 19.2.1 version cockroachdb/cockroach#32098 (comment), do you think this is the cause of the crash?

They rollbacked the version until I found a solution. Since CockroachDB will no longer support version 19.1, I have a few questions:

  1. Which version of CockroachDB do you work?
  2. Are you still using this lib? If not, which are you using now?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions