diff options
| author | Chris Lu <chrislusf@users.noreply.github.com> | 2025-11-26 15:54:26 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-26 15:54:26 -0800 |
| commit | 4106fc0436ce91591820a59a9715a06cacf06724 (patch) | |
| tree | 4c7ba018391c775ae56fbcf12f721fa98b6d4601 /test | |
| parent | 848bec6d245591d133050237e2109d7c1f686b1e (diff) | |
| download | seaweedfs-4106fc0436ce91591820a59a9715a06cacf06724.tar.xz seaweedfs-4106fc0436ce91591820a59a9715a06cacf06724.zip | |
fix(tikv): improve context propagation and refactor batch delete logic (#7558)
* fix(tikv): improve context propagation and refactor batch delete logic
Address review comments from PR #7557:
1. Replace context.TODO() with ctx in txn.Get calls
- Fixes timeout/cancellation propagation in FindEntry
- Fixes timeout/cancellation propagation in KvGet
2. Refactor DeleteFolderChildren to use flush helper
- Eliminates code duplication
- Cleaner and more maintainable
These changes ensure proper context propagation throughout all
TiKV operations and improve code maintainability.
* error formatting
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions
