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

   ## Summary
   - Remove unused `#include "util/runtime_profile.h"` from 3 header files that 
don't reference `RuntimeProfile` at all: `vdata_stream_sender.h`, 
`load_stream_map_pool.h`, `load_stream_stub.h`
   - Replace the include with `class RuntimeProfile;` forward declaration in 2 
header files that only use `RuntimeProfile*` (pointer): `hdfs_file_system.h`, 
`cache_manager.h`
   - `cache_manager.cpp` already had its own `#include 
"util/runtime_profile.h"`, so no .cpp changes needed
   
   This reduces the include fan-out of `runtime_profile.h` (~826 lines) across 
the build graph.
   
   ## Files changed
   | File | Action |
   |------|--------|
   | `be/src/vec/sink/vdata_stream_sender.h` | Removed unused include |
   | `be/src/vec/sink/load_stream_map_pool.h` | Removed unused include |
   | `be/src/vec/sink/load_stream_stub.h` | Removed unused include |
   | `be/src/io/fs/hdfs_file_system.h` | Replaced include with forward 
declaration |
   | `be/src/runtime/memory/cache_manager.h` | Replaced include with forward 
declaration |
   
   ## Test plan
   - [ ] Compile BE (`build.sh --be`) to verify no missing-type errors
   - [ ] Run BE unit tests
   
   🤖 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