Skip to content

Conversation

@dantengsky
Copy link
Member

@dantengsky dantengsky commented Dec 16, 2025

I hereby agree to the terms of the CLA available at: https://docs.databend.com/dev/policies/cla/

Summary

Table lock scope now limited to pipeline execution, it was tied to interpreters lifetime before this PR.

Tests

  • Unit Test
  • Logic Test
  • Benchmark Test
  • No Test - use existing tests

Type of change

  • Bug Fix (non-breaking change which fixes an issue)
  • New Feature (non-breaking change which adds functionality)
  • Breaking Change (fix or feature that could cause existing functionality not to work as expected)
  • Documentation Update
  • Refactoring
  • Performance Improvement
  • Other (please describe):

This change is Reviewable

@github-actions github-actions bot added the pr-refactor this PR changes the code base without new features or bugfix label Dec 16, 2025
@dantengsky dantengsky changed the title refactor: table lock release earlier during DML execution refactor: release table lock earlier during DML execution Dec 16, 2025
@dantengsky dantengsky marked this pull request as ready for review December 17, 2025 03:24
@dantengsky dantengsky requested a review from zhyass December 17, 2025 03:25
@dantengsky
Copy link
Member Author

@codex review

@chatgpt-codex-connector
Copy link

Codex Review: Didn't find any major issues. You're on a roll.

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

table lock scope now limited to pipeline execution (was tied to HTTP result lifetime)

# Conflicts:
#	src/query/sql/src/planner/binder/bind_mutation/bind.rs
#	src/query/sql/src/planner/plans/mutation.rs
@dantengsky dantengsky force-pushed the refactor/tight-table-lock-scope branch from 6b594ff to e17944c Compare December 22, 2025 06:41
@dantengsky dantengsky merged commit ef6da08 into databendlabs:main Dec 23, 2025
86 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-refactor this PR changes the code base without new features or bugfix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants