Skip to content

Instance Crashed when running a SSB query with more than 100 million rows #501

Closed

Description

@MOOS2021

Can be reproduced ?

No

Steps:

  1. Insert 100m rows into lineorder_flat
  2. run a select query with GROUP by.
  3. run a second query and instance crashed.

Expected behavior:

Actual behavior:

Environment:

  • Version or commit-id (e.g. v0.1.0 or 8b23a93): 7202d31
  • Hardware parameters:
  • OS type:
  • Others:

Configuration file:

Additional context:

  • Error message from client:

  • Server log:
    +++++++++
    2021/08/25 18:35:54.676729 [info] prophet: [prophet-leader/node0]/lease: exit with timeout
    2021/08/25 18:35:56.048437 [info] prophet: [prophet-leader/node0]/keepalive: exit with lease expired
    2021/08/25 18:36:24.323185 [info] prophet: node0 become to follower now
    2021/08/25 18:36:31.505817 [info] prophet: watcher notifer exited
    2021/08/25 18:36:35.686090 [info] prophet: coordinator is stopping
    2021/08/25 18:36:36.675108 [error] prophet: [prophet-leader/node0]/lease: keep lease exit
    {"level":"warn","ts":"2021-08-25T18:36:39.600+0800","logger":"etcd-client","caller":"[email protected]/retry_interceptor.go:62","msg":"retrying of unary invoker failed","target":"etcd-endpoints://0xc000150700/#initially=[http://localhost:40000]","attempt":0,"error":"rpc error: code = DeadlineExceeded desc = context deadline exceeded"}
    {"level":"info","ts":"2021-08-25T18:36:39.600+0800","logger":"etcd-client","caller":"[email protected]/client.go:207","msg":"Auto sync endpoints failed.","error":"context deadline exceeded"}
    2021/08/25 18:36:39.600755 [error] prophet: [prophet-leader/node0]/lease: keep lease failed with context deadline exceeded, retry later
    {"level":"warn","ts":"2021-08-25T18:36:39.600+0800","logger":"etcd-client","caller":"[email protected]/retry_interceptor.go:62","msg":"retrying of unary invoker failed","target":"etcd-endpoints://0xc000150700/#initially=[http://localhost:40000]","attempt":0,"error":"rpc error: code = DeadlineExceeded desc = context deadline exceeded"}
    2021/08/25 18:36:39.600844 [warning] prophet: txn runs too slow, resp=<> cost=<14.488271176s> errors context deadline exceeded
    2021/08/25 18:36:39.600757 [error] prophet: [prophet-leader/node0]/lease: keep lease failed with context deadline exceeded, retry later
    2021/08/25 18:36:39.600764 [error] prophet: [prophet-leader/node0]/lease: keep lease failed with context deadline exceeded, retry later
    2021/08/25 18:36:39 context deadline exceeded

  • Other information:

Activity

  1. added
    kind/bug
    on Aug 25, 2021
  2. added this to the v0.1.0 milestone on Aug 25, 2021
  3. yingfeng commented on Aug 26, 2021

    @yingfeng
    Contributor

    Could not be reproduced from commit adaf3a9

  4. MOOS2021 commented on Aug 26, 2021

    @MOOS2021
    ContributorAuthor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

kind/buglevel/hard-to-repro

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions