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

Args

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

Meta

%{
  "deps" => ["generate_user_counts"],
  "name" => "generate_event_counts",
  "on_hold" => false,
  "orig_scheduled_at" => 1772757972605081,
  "recorded" => true,
  "return" => "g1AAAAGleJxVkUFOwzAQRc2CIkESVRULzsOi17Amzm9r4diWx8nADiFxBq7CgTgITuJKsLH0n/6M/7ezUupJdpjhM/fq7vOniJRCYjpKK3Y4I2sXaMBASh5OLghrvgTxvVLNhzTnQI71aJlXR7vpBDKXAhrpfGQ9ICcyedmqpFmIx1SQW3S76JjCGDJWw32kM/RsISXR7v0gDZsE+A0Vw2EMvXXQeI1IFt5gG7O+ZqMv2S9beUoz3ip7lsc/LIFj8LxO7jGSLakpZ4wxb1Ur4/IwRXZV9mEq161NKzmV8x8IEX4F1xnjrHnZLD15X0rWRMVCMZoJrK8fcHP7LV0/WTcgVUjdLwHGm4g",
  "structured" => true,
  "workflow" => true,
  "workflow_id" => "019cc07f-7965-79d9-8d30-c791c2bf614f"
}

Recorded Output

%{
  events: 493028,
  errors: 70,
  widget_loaded: 0,
  flows_shown: 3202,
  goals_missed: 0,
  goals_reached: 12,
  nps_detractors: 0,
  nps_neutrals: 0,
  nps_promoters: 0,
  page_views: 426002,
  screen_views: 0,
  mobile_experiences: 0,
  pins_shown: 151,
  nps_survey_shown: 66,
  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: 67000,
  builder_events: 14
}

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
    "on 25.10.1.7375 (official build))\n"

    # 2
    54

    # 3
    67

    # 4
    ["refetchedReadPool, algorithm: Thread). (CANNOT_READ_FROM_FILE_DESCRIPTOR) (versi", " some retryable error happened, or data is corrupted. Please retry the query: While executing MergeTreeSelect(pool: ", "mpt to read data part all_119350_125097_9_112386651 (state Active) failed with error. It can mean tha", " id: c0afa07b-486b-4f69-9ba2-4a68671512c0:42557, kind: Regular, unbound: 0: (while reading column timestamp): (att", "d size: 4194304, reserved size: 4194304, downloader id: None, current write offset: 1493172224, calle", "1488977920, 1493172223], key: 2de2200fd1fe9adcf3f93459e8f8156e, state: DOWNLOADED, download", "ba2-4a68671512c0:42557, file segment info: File segment: ", "last caller: c0afa07b-486b-4f69-", "9108814, internal buffer end: 101822, read_type: CACHED,", "sxmxeqmx, hash key: 2de2200fd1fe9adcf3f93459e8f8156e, file_offset_of_buffer_end: 1489079742, read_until_position: 14", "ut error: Cache info: Buffer path: ch-s3-aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/orf/jaexgaypqaxdgygakgbf", "9e8f8156e/1488977920: , errno: 5, strerror: Input/out", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/2de/2de2200fd1fe9adcf3f934"]

    (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
    "375 (official build))\n"

    # 2
    53

    # 3
    67

    # 4
    ["eadPool, algorithm: Thread). (CANNOT_READ_FROM_FILE_DESCRIPTOR) (version 25.10.1.7", "MergeTreeSelect(pool: Prefetched", "ror. It can mean that some retryable error happened, or data is corrupted. Please retry the query: While executing", " column timestamp): (attempt to read data part all_43206_46808_8_112386651 (state Active) failed with e", "411e2:2104, kind: Regular, unbound: 0: (while readin", "ved size: 4194304, downloader id: None, current write offset: 872415232, caller id: 62fd85c9-fe09-475a-aa46-710dca", "f1, state: DOWNLOADED, downloaded size: 4194304, rese", "68220928, 872415231], key: 1d8f02114e813949b1c505ace7793", "-710dca4411e2:2104, file segment info: File segment: [", "ead_until_position: 868489803, internal buffer end: 237358, read_type: CACHED, last caller: 62fd85c9-fe09-475a-aa4", "fcplczdtlvaeaqwqkopncfawpz, hash key: 1d8f02114e813949b1c505ace77935f1, file_offset_of_buffer_end: 868458286, ", "29e2-f47e-4b75-bbcb-8441591d3836/mergetree/abs/xh", "ce77935f1/868220928: , 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/1d8/1d8f02114e813949b1c505"]

    (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
    "PTOR) (version 25.10.1.7375 (official build))\n"

    # 2
    55

    # 3
    67

    # 4
    ["uery: While executing MergeTreeSelect(pool: PrefetchedReadPool, algorithm: Thread). (CANNOT_READ_FROM_FILE_DESCRI", " with error. It can mean that some retryable error happened, or data is corrupted. Please retry the ", "le reading column timestamp): (attempt to read data part all_43206_46808_8_112386651 (state Active) faile", "rent write offset: 872415232, caller id: af5eb698-035b-49c1-acda-6f86ec57ee64:2100, kind: Regular, unbound: 0: (wh", "304, reserved size: 4194304, downloader id: None, cu", "b1c505ace77935f1, state: DOWNLOADED, downloaded size: 419", "-6f86ec57ee64:2100, file segment info: File segment: [868220928, 872415231], key: 1d8f02114e81394", "ead_until_position: 868489803, internal buffer end: 237358, read_type: CACHED, last caller: af5eb698-035b-49c1-acd", "fcplczdtlvaeaqwqkopncfawpz, hash key: 1d8f02114e813949b1c505ace77935f1, file_offset_of_buffer_end: 868458286, ", "29e2-f47e-4b75-bbcb-8441591d3836/mergetree/abs/xh", "ce77935f1/868220928: , 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/1d8/1d8f02114e813949b1c505"]

    (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—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 (official build))\n"

    # 2
    52

    # 3
    67

    # 4
    ["ool, algorithm: Thread). (CANNOT_READ_FROM_FILE_DESCRIPTOR) (version 25.10.1.737", ", or data is corrupted. Please retry the query: While executing MergeTreeSelect(pool: PrefetchedRead", " It can mean that some retryable error happene", "g column timestamp): (attempt to read data part all_119350_125097_9_112386651 (state Active) failed with error", "e offset: 1493172224, caller id: 9b217e7c-3c5e-4ae3-85c9-461f5d7707b7:44791, kind: Regular, unbound: 0: (while readi", "downloader id: None, current wri", "e2200fd1fe9adcf3f93459e8f8156e, state: DOWNLOADED, downloaded size: 4194304, reserved size: 4194304,", "[1488977920, 1493172223], key: 2", "5c9-461f5d7707b7:44791, file segment info: File segment:", "last caller: 9b217e7c-3c5e-4ae3-", "9108814, internal buffer end: 101822, read_type: CACHED,", "sxmxeqmx, hash key: 2de2200fd1fe9adcf3f93459e8f8156e, file_offset_of_buffer_end: 1489079742, read_until_position: 14", "ut error: Cache info: Buffer path: ch-s3-aa8129e2-f47e-4b75-bbcb-8441591d3836/mergetree/orf/jaexgaypqaxdgygakgbf", "9e8f8156e/1488977920: , errno: 5, strerror: Input/out", "de: 74. DB::Exception: Cannot read from file /mnt/clickhouse-cache/sharedS3DiskCache/2de/2de2200fd1fe9adcf3f934"]

    (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