Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug Report: VTGate Segmentation Violation during rollout #13329

Closed
harshit-gangal opened this issue Jun 16, 2023 · 0 comments · Fixed by #13333
Closed

Bug Report: VTGate Segmentation Violation during rollout #13329

harshit-gangal opened this issue Jun 16, 2023 · 0 comments · Fixed by #13333

Comments

@harshit-gangal
Copy link
Member

harshit-gangal commented Jun 16, 2023

Overview of the Issue

During vitess rollout panic is observed on the vtgate.

Reproduction Steps

during PRS sometimes there is no healthy tablet but the current primary is present for the target and states it is serving. There is a race between healthcheck updating the state vs tabletgateway finding a healthy primary to send the query to.

Binary Version

v17 and main

Operating System and Environment details

N/A

Log Fragments

2023-06-14 01:03:32.709 | E0614 01:03:32.709321       1 vtgate.go:656] Uncaught panic: |  
-- | -- | --
  |   | 2023-06-14 01:03:32.709 | runtime error: invalid memory address or nil pointer dereference |  
  |   | 2023-06-14 01:03:32.709 | runtime/panic.go:260 (0x450c95) |  
  |   | 2023-06-14 01:03:32.709 | runtime/signal_unix.go:835 (0x450c65) |  
  |   | 2023-06-14 01:03:32.709 | vitess.io/vitess/go/sqltypes/result.go:330 (0x132d784) |  
  |   | 2023-06-14 01:03:32.709 | vitess.io/vitess/go/vt/vtgate/scatter_conn.go:267 (0x132d753) |  
  |   | 2023-06-14 01:03:32.709 | vitess.io/vitess/go/vt/vtgate/scatter_conn.go:643 (0x1331671) |  
  |   | 2023-06-14 01:03:32.709 | vitess.io/vitess/go/vt/vtgate/scatter_conn.go:663 (0x133128c) |  
  |   | 2023-06-14 01:03:32.709 | vitess.io/vitess/go/vt/vtgate/scatter_conn.go:165 (0x132ca24) |  
  |   | 2023-06-14 01:03:32.709 | vitess.io/vitess/go/vt/vtgate/executor.go:1408 (0x1313d57) |  
  |   | 2023-06-14 01:03:32.709 | vitess.io/vitess/go/vt/vtgate/vcursor_impl.go:494 (0x133bf87) |  
  |   | 2023-06-14 01:03:32.709 | vitess.io/vitess/go/vt/vtgate/engine/dml.go:142 (0x10c96e2) |  
  |   | 2023-06-14 01:03:32.709 | vitess.io/vitess/go/vt/vtgate/engine/dml.go:91 (0x10c90c9) |  
  |   | 2023-06-14 01:03:32.709 | vitess.io/vitess/go/vt/vtgate/engine/update.go:72 (0x10fe811) |  
  |   | 2023-06-14 01:03:32.709 | vitess.io/vitess/go/vt/vtgate/vcursor_impl.go:396 (0x133ae17) |  
  |   | 2023-06-14 01:03:32.709 | vitess.io/vitess/go/vt/vtgate/plan_execute.go:204 (0x131dc9b) |  
  |   | 2023-06-14 01:03:32.709 | vitess.io/vitess/go/vt/vtgate/executor.go:402 (0x130aac4) |  
  |   | 2023-06-14 01:03:32.709 | vitess.io/vitess/go/vt/vtgate/plan_execute.go:99 (0x131d41d) |  
  |   | 2023-06-14 01:03:32.709 | vitess.io/vitess/go/vt/vtgate/plan_execute.go:178 (0x131d9f1) |  
  |   | 2023-06-14 01:03:32.709 | vitess.io/vitess/go/vt/vtgate/plan_execute.go:97 (0x131d2b6) |  
  |   | 2023-06-14 01:03:32.709 | vitess.io/vitess/go/vt/vtgate/executor.go:400 (0x130a948) |  
  |   | 2023-06-14 01:03:32.709 | vitess.io/vitess/go/vt/vtgate/executor.go:206 (0x1308d35) |  
  |   | 2023-06-14 01:03:32.709 | vitess.io/vitess/go/vt/vtgate/vtgate.go:448 (0x1349524) |  
.....
@harshit-gangal harshit-gangal added Type: Bug Needs Triage This issue needs to be correctly labelled and triaged Component: Query Serving and removed Needs Triage This issue needs to be correctly labelled and triaged labels Jun 16, 2023
@harshit-gangal harshit-gangal changed the title Bug Report: Bug Report: VTGate Segmentation Violation during rollout Jun 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant