Skip to content

[Bug]: restore report 'r-w conflict'. #16278

Closed

Description

@Ariznawlll

Is there an existing issue for the same bug?

  • I have checked the existing issues.

Branch Name

main

Commit ID

68a9d56

Other Environment Information

- Hardware parameters:
- OS type:
- Others:

Actual Behavior

偶现
image

log:https://grafana.ci.matrixorigin.cn/explore?panes=%7B%22a0v%22:%7B%22datasource%22:%22loki%22,%22queries%22:%5B%7B%22refId%22:%22A%22,%22expr%22:%22%7Bnamespace%3D%5C%22mo-big-data-20240520%5C%22%7D%20%7C%3D%20%60r-w%20conflict%60%22,%22queryType%22:%22range%22,%22datasource%22:%7B%22type%22:%22loki%22,%22uid%22:%22loki%22%7D,%22editorMode%22:%22builder%22%7D%5D,%22range%22:%7B%22from%22:%22now-6h%22,%22to%22:%22now%22%7D%7D%7D&schemaVersion=1&orgId=1

Expected Behavior

restore success.

Steps to Reproduce

please contact me, i will give you a test document.

Additional information

No response

Activity

  1. added
    kind/bug
    severity/s0
    on May 21, 2024
  2. added this to the 1.2.1 milestone on May 21, 2024
  3. YANGGMM commented on May 21, 2024

    @YANGGMM
    Contributor
    {"level":"INFO","time":"2024/05/21 03:13:12.777126 +0000","name":"cn-service.frontend","caller":"frontend/snapshot.go:419","msg":"[sp02] start to restore table: bmsql_new_order","uuid":"37633835-3166-3366-3463-363939363638"}
    
    {"level":"ERROR","time":"2024/05/21 03:16:58.778893 +0000","name":"cn-service.frontend","caller":"frontend/util.go:493","msg":"query trace status","uuid":"37633835-3166-3366-3463-363939363638","statement":"restore account sys database tpcc_10 table bmsql_new_order from snapshot sp02","status":"fail","error":"r-w conflict","session_info":"connectionId 24734|10.128.0.124:1572|{account sys:dump:moadmin -- 0:1:0}|goRoutineId 357501|018f98d2-100e-7e42-91e1-b45204e469fe","session_id":"018f98d2-100e-7e42-91e1-b45204e469fe","statement_id":"018f9923-8446-795d-8cb3-ed4b302d64d4","span":{"trace_id":"45ce8959-4f87-b8f5-3ed2-a080266c9a95","span_id":"d2101775fad4b05c"}}
    
  4. YANGGMM commented on May 21, 2024

    @YANGGMM
    Contributor
    image
  5. triump2020 commented on May 24, 2024

    @triump2020
    Contributor

    r-w 已经有解决方案,下周开始解决

  6. triump2020 commented on May 29, 2024

    @triump2020
    Contributor

    @Ariznawlll Pls test.

  7. Ariznawlll commented on Jun 3, 2024

    @Ariznawlll
    CollaboratorAuthor

    testing

  8. Ariznawlll commented on Jun 4, 2024

    @Ariznawlll
    CollaboratorAuthor

    commit:3b0e6b1d83b5cb4ea78d7545d2df26f5a0d77a00
    复现场景:restore 时候数据量大一点,表带自增列 ,restore的 执行时长 >2min
    restore场景:数据量 1000w
    image
    verified.

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

Metadata

Metadata

Assignees

Labels

kind/bugphase/testingseverity/s0

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions