shuke987 opened a new pull request, #61582:
URL: https://github.com/apache/doris/pull/61582

   ## Summary
   - Remove unused `#include "runtime/exec_env.h"` from 10 header files that 
don't reference ExecEnv
   - Replace with `class ExecEnv;` forward declaration in 9 header files that 
only use `ExecEnv*` pointer
   - Move full include to corresponding .cpp files where needed
   - Add `class Thread;` forward declaration in `workload_sched_policy_mgr.h` 
(was transitively included via exec_env.h)
   
   ### Files changed (24 files)
   
   **Headers - include removed (unused):**
   - `exec/operator/aggregation_sink_operator.h`
   - `exec/scan/scanner.h`
   - `exec/sink/load_stream_map_pool.h`
   - `exec/sink/load_stream_stub.h`
   - `exec/sink/writer/vtablet_writer.h`
   - `exec/sink/writer/vtablet_writer_v2.h`
   - `load/group_commit/wal/wal_info.h`
   - `storage/metadata_adder.h`
   - `storage/rowset/rowset_writer_context.h`
   - `storage/segment/page_handle.h`
   
   **Headers - replaced with forward declaration:**
   - `agent/workload_sched_policy_listener.h`
   - `load/group_commit/group_commit_mgr.h`
   - `load/group_commit/wal/wal_manager.h`
   - `load/group_commit/wal/wal_table.h`
   - `runtime/query_context.h`
   - `runtime/workload_management/workload_sched_policy_mgr.h`
   - `service/http/action/check_encryption_action.h`
   - `service/http/action/compaction_score_action.h`
   - `service/http/http_handler_with_auth.h`
   
   **CPP files - added full include:**
   - `agent/workload_sched_policy_listener.cpp`
   - `load/group_commit/wal/wal_table.cpp`
   - `runtime/workload_management/workload_sched_policy_mgr.cpp`
   - `service/http/action/compaction_score_action.cpp`
   - `service/http/http_handler_with_auth.cpp`
   
   ## Test plan
   - [x] Full BE compilation verified on build server
   - [ ] CI buildall
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)


-- 
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]

Reply via email to