matrixorigin / matrixone

Hyperconverged cloud-edge native database
https://docs.matrixorigin.cn/en
Apache License 2.0
1.78k stars 275 forks source link

[Bug]: UT TestUpdateWithRemotePartition failed #19171

Open xzxiong opened 1 week ago

xzxiong commented 1 week ago

Is there an existing issue for the same bug?

Branch Name

main

Commit ID

17e27ac2f

Other Environment Information

- Hardware parameters:
- OS type:
- Others:

Actual Behavior

    partition_based_test.go:502: 
            Error Trace:    /home/runner/work/matrixone/matrixone/pkg/tests/shard/partition_based_test.go:502
                                        /home/runner/work/matrixone/matrixone/pkg/tests/shard/partition_based_test.go:269
                                        /home/runner/work/matrixone/matrixone/pkg/tests/shard/shard_test.go:108
                                        /home/runner/work/matrixone/matrixone/pkg/tests/shard/shard_test.go:40
                                        /home/runner/work/matrixone/matrixone/pkg/tests/shard/partition_based_test.go:240
            Error:          Not equal: 
                            expected: 100
                            actual  : 1
            Test:           TestUpdateWithRemotePartition

image

Expected Behavior

No response

Steps to Reproduce

https://github.com/matrixorigin/matrixone/actions/runs/11248199367/job/31272952009?pr=19168#step:9:1

Additional information

No response

xzxiong commented 1 week ago

@zhangxu19830126 ptal

zhangxu19830126 commented 1 week ago

连续执行3个语句:

  1. insert into (1,1)
  2. update set value = 100 where id = 1
  3. select where id = 1

1,2,3个语句都执行成功,但是查询出来的结果是1.

daviszhen commented 1 week ago

https://github.com/matrixorigin/matrixone/actions/runs/11271076832/job/31343184841?pr=19209#step:5:28740

daviszhen commented 1 week ago

https://github.com/matrixorigin/matrixone/actions/runs/11288756824/job/31397195941?pr=19174

triump2020 commented 3 days ago

Pls ref to #19202