Overview
| Artifact ID: | 142d759dfa8dc847877974ddc75e0123470e04e19a5c0eea598eeafdd4df93c0 |
|---|---|
| Ticket: | 32318b14cbdd22aa289d3f4e800fc0417bfa617a
transchan documentation around 'clear' is misleading/incomplete |
| User & Date: | juliannoble2 on 2026-08-01 04:48:47 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/x-fossil-plain"
- comment changed to:
transchan documentation says "called when a chan seek is performed on the channel " and doesn't inform that when a transform declares the method, it is called before every write. The behaviour seems intentional (tests/ioTrans.test iortrans-78.1 "chan write, write clears read buffers") But the docs give no indication, which can bite in not-immediately-obvious ways (intermittent due to chunking boundaries) if a transform implementer naively clears all buffered state thinking it's obligatory. Tip 230 does indicate implementing 'clear' is optional if you *don't* have any internal buffers to clear - but also says "This happens only when the user seeks the channel the transformation is attached to."
- is_private changed to: "0"
- login: "juliannoble2"
- priority changed to: "5 Medium"
- private_contact changed to: "957fdfcd8744611e3fe1f4896c7538b1d9bf47b2"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- submitter changed to: "juliannoble2"
- subsystem changed to: "26. Channel Transforms"
- title changed to:
transchan documentation around 'clear' is misleading/incomplete
- type changed to: "RFE"