Skip to content

fix(sql-execute): commit/rollback button does not sync with trans state#2097

Merged
yizhouxw merged 1 commit into
dev/4.2.xfrom
fix/yizhou_424_trans_state_empty
Mar 27, 2024
Merged

fix(sql-execute): commit/rollback button does not sync with trans state#2097
yizhouxw merged 1 commit into
dev/4.2.xfrom
fix/yizhou_424_trans_state_empty

Conversation

@yizhouxw
Copy link
Copy Markdown
Contributor

@yizhouxw yizhouxw commented Mar 27, 2024

What type of PR is this?

type-bug

What this PR does / why we need it:

while connec to oceanbase 4.2.1, commit/rollback button does not sync with trans state.

Which issue(s) this PR fixes:

Fixes #2096

Special notes for your reviewer:

odc get transaction state from gv$ob_processlist,
however it may result into empty while connect to oceanabase 4.2.1.1~4.2.1.4.

change to access v$ob_processlist instead of gv$ob_processlist will workaround this issue.

Additional documentation e.g., usage docs, etc.:


@yizhouxw yizhouxw added this to the ODC 4.2.4 milestone Mar 27, 2024
@yizhouxw yizhouxw self-assigned this Mar 27, 2024
@yizhouxw yizhouxw marked this pull request as ready for review March 27, 2024 10:03
Copy link
Copy Markdown
Contributor

@yhilmare yhilmare left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Copy link
Copy Markdown
Contributor

@PeachThinking PeachThinking left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@yizhouxw yizhouxw merged commit dc7f06d into dev/4.2.x Mar 27, 2024
@yizhouxw yizhouxw deleted the fix/yizhou_424_trans_state_empty branch March 27, 2024 11:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

[Bug]: commit and rollback button does not sync with transaction status for oceanbase 4.2

3 participants