19817818 CustomerApi.Jobs.GenerateAccountMetrics
Queue clickhouse_account_metrics
Attempt 5 of 10
Priority 0
Tags ...
Node customer_api@10.10.0.158
Queue Time 02:32.232
Run Time 00:08.285
Inserted 11h ago
Scheduled 9h ago
Completed 9h ago (00:09)
Cancelled
Discarded

Args

%{
  "account_id" => "88276",
  "date" => "2026-03-06",
  "query" => "event_counts",
  "window_days" => 30
}

Meta

%{
  "deps" => ["generate_user_counts"],
  "name" => "generate_event_counts",
  "on_hold" => false,
  "orig_scheduled_at" => 1772756655112797,
  "recorded" => true,
  "return" => "g1AAAAGreJxVkU1SxCAUhBkXs9AkFa1ZeAF3XsKTUIT0ZCgJUDwIehqdm/oS4t+Gqv6q36MbkhDisRyxwCUaRP9yZRGjjyzE/XNpixknJGm9GjEqUe7O1heSdPHFseXwVJrJK0tyNkSbo606QunLBjoXSI5IUenEi5k0K3HIjOyq21WH6GefsBlug5ogF4PCObrPj9KQjoCriA0Psx+MhcRbQDRwGnXMuN9sp2Pp18WU44L3itl0+sMiKHhH23CPWRkOrlLCHFJtuzPi51mb7HLwmW/cyu7kzOc/4ANcbb8DbY1+rZZBOcc9fxJ1KgSdQfL7Gw7Xm9IN2dgRcYdKfAGxf5pd",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-78a0-7183-85c4-450e875b2459"
}

Recorded Output

%{
  events: 1065377,
  errors: 4396,
  widget_loaded: 0,
  flows_shown: 293,
  goals_missed: 0,
  goals_reached: 0,
  nps_detractors: 0,
  nps_neutrals: 0,
  nps_promoters: 0,
  page_views: 958623,
  screen_views: 0,
  mobile_experiences: 0,
  pins_shown: 5126,
  nps_survey_shown: 0,
  nps_survey_responses: 0,
  emails_attempted: 0,
  emails_sent: 0,
  emails_bounced: 0,
  emails_failed: 0,
  emails_opened: 0,
  emails_clicked: 0,
  banners_shown: 0,
  appcues_events: 106754,
  builder_events: 0
}

Errors

Attempt 4—9h ago

** (FunctionClauseError) no function clause matching in Ch.RowBinary.decode_names/4

The following arguments were given to Ch.RowBinary.decode_names/4:

    # 1
    "5.10.1.7375 (official build))\n"

    # 2
    53

    # 3
    67

    # 4
    [" (CANNOT_READ_FROM_FILE_DESCRIPTOR) (version 2", "a is corrupted. Please retry the query: While executing MergeTreeSelect(pool: PrefetchedReadPool, algorithm: Thread)", " all_39948_43205_8_112386651 (state Active) failed with error. It can mean that some retryable error happened, or da", "c5bb786:1749, kind: Regular, unbound: 0: (while reading column timestamp): (attempt to read data par", "id: ca98ea46-8659-4ffb-ab8d-0ba8", " size: 4194304, reserved size: 4194304, downloader id: None, current write offset: 524288000, caller", " segment: [520093696, 524287999], key: 46bc736f8eb066835ef878a52dca5c52, state: DOWNLOADED, downloade", "59-4ffb-ab8d-0ba8dc5bb786:1749, file segment info: Fil", "542271, read_type: CACHED, last caller: ca98ea46-8", "67, read_until_position: 522668896, internal buffer end: ", "xwondkgsgxpsvhatmfuemrmqxt, hash key: 46bc736f8eb066835ef878a52dca5c52, file_offset_of_buffer_end: 522635", "29e2-f47e-4b75-bbcb-8441591d3836/mergetree/fol/sf", "52dca5c52/520093696: , errno: 5, strerror: Input/output error: Cache info: Buffer path: ch-s3-aa8", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/46b/46bc736f8eb066835ef878"]

    (ch 0.7.1) lib/ch/row_binary.ex:789: Ch.RowBinary.decode_names/4
    (ch 0.7.1) lib/ch/query.ex:290: DBConnection.Query.Ch.Query.decode/3
    (db_connection 2.9.0) lib/db_connection.ex:1470: DBConnection.decode/4
    (db_connection 2.9.0) lib/db_connection.ex:849: DBConnection.execute/4
    (ch 0.7.1) lib/ch.ex:94: Ch.query/4
    (ecto_sql 3.13.4) lib/ecto/adapters/sql.ex:620: Ecto.Adapters.SQL.query!/4
    (ecto_ch 0.8.6) lib/ecto/adapters/clickhouse.ex:323: Ecto.Adapters.ClickHouse.execute/5
    (ecto 3.13.5) lib/ecto/repo/queryable.ex:241: Ecto.Repo.Queryable.execute/4

Attempt 3—9h ago

** (FunctionClauseError) no function clause matching in Ch.RowBinary.decode_names/4

The following arguments were given to Ch.RowBinary.decode_names/4:

    # 1
    "refetchedReadPool, algorithm: Thread). (CANNOT_READ_FROM_FILE_DESCRIPTOR) (version 25.10.1.7375 (official build))\n"

    # 2
    54

    # 3
    67

    # 4
    ["ome retryable error happened, or data is corrupted. Please retry the query: While executing MergeTreeSelect(pool: P", "1 (state Active) failed with error. It can mean that ", "d: Regular, unbound: 0: (while reading column timestamp): (attempt to read data part all_39948_43205_8_1123866", "r id: None, current write offset: 524288000, caller id: b2549d6a-28fd-4031-bf23-bbcb13af2934:2062, ki", "reserved size: 4194304, download", "egment: [520093696, 524287999], key: 46bc736f8eb066835ef878a52dca5c52, state: DOWNLOADED, downloaded size: 4194304,", "fd-4031-bf23-bbcb13af2934:2062, file segment info: File ", "542271, read_type: CACHED, last caller: b2549d6a-2", "67, read_until_position: 522668896, internal buffer end: ", "xwondkgsgxpsvhatmfuemrmqxt, hash key: 46bc736f8eb066835ef878a52dca5c52, file_offset_of_buffer_end: 522635", "29e2-f47e-4b75-bbcb-8441591d3836/mergetree/fol/sf", "52dca5c52/520093696: , errno: 5, strerror: Input/output error: Cache info: Buffer path: ch-s3-aa8", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/46b/46bc736f8eb066835ef878"]

    (ch 0.7.1) lib/ch/row_binary.ex:789: Ch.RowBinary.decode_names/4
    (ch 0.7.1) lib/ch/query.ex:290: DBConnection.Query.Ch.Query.decode/3
    (db_connection 2.9.0) lib/db_connection.ex:1470: DBConnection.decode/4
    (db_connection 2.9.0) lib/db_connection.ex:849: DBConnection.execute/4
    (ch 0.7.1) lib/ch.ex:94: Ch.query/4
    (ecto_sql 3.13.4) lib/ecto/adapters/sql.ex:620: Ecto.Adapters.SQL.query!/4
    (ecto_ch 0.8.6) lib/ecto/adapters/clickhouse.ex:323: Ecto.Adapters.ClickHouse.execute/5
    (ecto 3.13.5) lib/ecto/repo/queryable.ex:241: Ecto.Repo.Queryable.execute/4

Attempt 2—9h ago

** (FunctionClauseError) no function clause matching in Ch.RowBinary.decode_names/4

The following arguments were given to Ch.RowBinary.decode_names/4:

    # 1
    "0.1.7375 (official build))\n"

    # 2
    53

    # 3
    67

    # 4
    ["Select(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_READ_FROM_FILE_DESCRIPTOR) (version 25.1", " can mean that some retryable error happened, or data is corrupted. Please retry the query: While executing MergeTre", "05_8_112386651 (state Active) failed with error. I", ": (attempt to read data part all_39948_43", "f9d7-cff9-471a-88ae-1f10b896dbe7:2090, kind: Regular, unbound: 0: (while reading column timestamp", "ze: 4194304, reserved size: 4194304, downloader id: None, current write offset: 524288000, caller id: 772", "eb066835ef878a52dca5c52, state: DOWNLOADED, downloaded s", "f9-471a-88ae-1f10b896dbe7:2090, file segment info: File segment: [520093696, 524287999], key: 46bc736f", "542271, read_type: CACHED, last caller: 772af9d7-c", "67, read_until_position: 522668896, internal buffer end: ", "xwondkgsgxpsvhatmfuemrmqxt, hash key: 46bc736f8eb066835ef878a52dca5c52, file_offset_of_buffer_end: 522635", "29e2-f47e-4b75-bbcb-8441591d3836/mergetree/fol/sf", "52dca5c52/520093696: , errno: 5, strerror: Input/output error: Cache info: Buffer path: ch-s3-aa8", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/46b/46bc736f8eb066835ef878"]

    (ch 0.7.1) lib/ch/row_binary.ex:789: Ch.RowBinary.decode_names/4
    (ch 0.7.1) lib/ch/query.ex:290: DBConnection.Query.Ch.Query.decode/3
    (db_connection 2.9.0) lib/db_connection.ex:1470: DBConnection.decode/4
    (db_connection 2.9.0) lib/db_connection.ex:849: DBConnection.execute/4
    (ch 0.7.1) lib/ch.ex:94: Ch.query/4
    (ecto_sql 3.13.4) lib/ecto/adapters/sql.ex:620: Ecto.Adapters.SQL.query!/4
    (ecto_ch 0.8.6) lib/ecto/adapters/clickhouse.ex:323: Ecto.Adapters.ClickHouse.execute/5
    (ecto 3.13.5) lib/ecto/repo/queryable.ex:241: Ecto.Repo.Queryable.execute/4

Attempt 1—10h ago

** (FunctionClauseError) no function clause matching in Ch.RowBinary.decode_names/4

The following arguments were given to Ch.RowBinary.decode_names/4:

    # 1
    "ool, algorithm: Thread). (CANNOT_READ_FROM_FILE_DESCRIPTOR) (version 25.10.1.7375 (official build))\n"

    # 2
    54

    # 3
    67

    # 4
    ["r happened, or data is corrupted. Please retry the query: While executing MergeTreeSelect(pool: PrefetchedReadP", " to read data part all_39948_43205_8_112386651 (state Active) failed with error. It can mean that some retryable err", "while reading column timestamp): (attemp", "-475c-bc09-7fd4115cd828:2110, kind: Regular, unbound: 0: ", "ize: 4194304, reserved size: 4194304, downloader id: None, current write offset: 524288000, caller id: 19414e9e-046", "le segment: [520093696, 524287999], key: 46bc736f8eb066835ef878a52dca5c52, state: DOWNLOADED, downloaded ", "69-475c-bc09-7fd4115cd828:2110, file segment info: F", "542271, read_type: CACHED, last caller: 19414e9e-0", "67, read_until_position: 522668896, internal buffer end: ", "xwondkgsgxpsvhatmfuemrmqxt, hash key: 46bc736f8eb066835ef878a52dca5c52, file_offset_of_buffer_end: 522635", "29e2-f47e-4b75-bbcb-8441591d3836/mergetree/fol/sf", "52dca5c52/520093696: , errno: 5, strerror: Input/output error: Cache info: Buffer path: ch-s3-aa8", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/46b/46bc736f8eb066835ef878"]

    (ch 0.7.1) lib/ch/row_binary.ex:789: Ch.RowBinary.decode_names/4
    (ch 0.7.1) lib/ch/query.ex:290: DBConnection.Query.Ch.Query.decode/3
    (db_connection 2.9.0) lib/db_connection.ex:1470: DBConnection.decode/4
    (db_connection 2.9.0) lib/db_connection.ex:849: DBConnection.execute/4
    (ch 0.7.1) lib/ch.ex:94: Ch.query/4
    (ecto_sql 3.13.4) lib/ecto/adapters/sql.ex:620: Ecto.Adapters.SQL.query!/4
    (ecto_ch 0.8.6) lib/ecto/adapters/clickhouse.ex:323: Ecto.Adapters.ClickHouse.execute/5
    (ecto 3.13.5) lib/ecto/repo/queryable.ex:241: Ecto.Repo.Queryable.execute/4