Xuanwo opened a new issue, #8856:
URL: https://github.com/apache/opendal/issues/8856

   > AI-authored issue from a read-only readability audit against `main` 
(`615a8f24f`), guided by the optimize-for-reading guidelines in #8847.
   
   ### Problem
   
   Several small but misleading comments, typos, and partial migrations remain 
in `core/`:
   
   1. **Mismatched `unsafe impl Sync` safety comment in `BufferSink`** 
(`core/core/src/types/write/buffer_sink.rs:44-46`):
      - Justifies `unsafe impl Sync for State` by referencing `FuturesReader` 
instead of `BufferSink`.
   2. **Mismatched `unsafe impl Sync` safety comment in `FlatLister`** 
(`core/core/src/raw/oio/list/flat_list.rs:76-81`):
      - References `FsLister` instead of `FlatLister` (coordinate with #8849 if 
`FlatLister` is removed instead).
   3. **Stale doc link in `ReadContext`** 
(`core/core/src/types/context/read.rs:38`):
      - Comment still links to the removed `[\`Access::read\`]` trait method.
   4. **Doc typos in `FuturesBytesStream`** 
(`core/core/src/types/read/futures_bytes_stream.rs:33-36`):
      - Contains typos `adand` (line 35) and `///ad` (line 36).
   5. **Inconsistent naming and half-migrated `operation_probe!` macro in 
`dtrace`** (`core/layers/dtrace/src/lib.rs:175-395`):
      - Mixes casing across `DtraceLayer`, `DTraceService`, and 
`DtraceLayerWrapper` in the same file.
      - Only `delete` and `list` use the test-recording `operation_probe!` 
macro (`lines 358-374`); all other operations in `DTraceService` still call 
`probe_lazy!` directly.
   
   ### Coordination Notes
   
   - Open PR #8846 modifies `buffer_sink.rs`, open PR #8824 modifies 
`types/context/read.rs`, and #8849 tracks the fate of `flat_list.rs`. 
Coordinate to avoid trivial merge conflicts.
   


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

Reply via email to