Xuanwo opened a new pull request, #9306: URL: https://github.com/apache/opendal/pull/9306
# Which issue does this PR close? Relates to #5496. # Rationale for this change Backblaze B2 assigns a file ID to each hide marker. Callers could list historical uploads but could not list the marker that hid an upload. # What changes are included in this PR? The B2 version lister reads hide markers from `b2_list_file_versions`. It tracks the latest entry for each name across page boundaries, including when that entry is filtered out. Each marker carries its native file ID and upload timestamp, a zero length, and the `is_deleted` and `is_current` flags. On live B2, we compared all four combinations of `versions` and `deleted` against the native API with one entry per page. The file IDs and marker timestamps matched, including a historical marker for a name that had been uploaded again. The probe also checked `start_after`, non-recursive listing and omission of unfinished uploads. # Are there any user-facing changes? Yes. On B2, `list_with(path).deleted(true)` includes current visible files plus current and historical hide markers. Add `versions(true)` to include historical data versions as well. `lister_with` supports the same options. The B2 service guide and capability matrix now document this support. # Breaking changes # AI Usage Statement - Pi, `magpie/codex/gpt-6.2-sol`, `max`: implemented the change and verified it against native B2. - Pi, `magpie/agy-cli/gemini-4-neon`, `high`: drafted the title and description. - Pi, `magpie/devin/swe-2-1`, provider default: independently reviewed the signed commit, pagination logic and live receipts. - Pi, `magpie/codex/gpt-6.2-astra`, `high`: coordinated the work and edited the description. -- 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]
