bobhan1 opened a new pull request, #66082:
URL: https://github.com/apache/doris/pull/66082
### What problem does this PR solve?
Issue Number: None
Related PR: None
Problem Summary: Urgent MOW load lock requests currently replace any
existing delete bitmap update lock after the force-take threshold. If a heavy
schema change owns the lock, the load can invalidate the schema change and make
its later commit fail. This change keeps active schema change locks protected
in both v1 and v2 lock implementations. Urgent loads continue to preempt
compaction and load locks, and stale schema change locks still follow the
existing expiration cleanup path.
### Release note
Urgent MOW loads no longer preempt active schema change delete bitmap locks.
### Check List (For Author)
- Test: Unit Test
- `BUILD_TYPE=ASAN ./run-cloud-ut.sh --run
--filter=meta_service_test:MetaServiceTest.GetDeleteBitmapUpdateLock`
- Behavior changed: Yes. Urgent MOW loads now wait for active schema change
locks while retaining force-take behavior for other lock owners.
- Does this need documentation: No
### Additional validation
- `build-support/clang-format.sh`
- `build-support/check-format.sh`
- `build-support/run-clang-tidy.sh --build-dir cloud/ut_build_ASAN --base
upstream/master` (attempted; blocked by the local clang-tidy resource-dir error
`stddef.h file not found` and pre-existing whole-file warnings promoted to
errors)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]