Where to report CFAPI issues?

Frank Richter 1 Reputation point
2020-08-18T13:53:17.093+00:00

Hi,
I have some weird issues while using the Cloud File API and I wonder what's the best way to report these.
I have asked this previously, but I still don't know, so... (Previous post: https://social.msdn.microsoft.com/Forums/en-US/7a2aa6fb-a368-4cbe-b8fb-972c2502f633/cloud-filter-cfapi-issues?forum=windowssdk)

I have issues when using a sync root set to "partial" hydration.
It can be replicated it using the CloudMirror sample: https://github.com/Microsoft/Windows-classic-samples/tree/master/Samples/CloudMirror

Change hydration policy to winrt::StorageProviderHydrationPolicy::Partial.

Mirror something with files that are typically not read at once. ZIP files work nicely for me.

Access those file(s). E.g. for archives try to open multiple files in an arbitrary order. Sooner or later I get an error about read access granularity being wrong.
The error code is ERROR_OFFSET_ALIGNMENT_VIOLATION in the app reading the file(s), or 0xC0000474 (STATUS_INVALID_OFFSET_ALIGNMENT) when logging file accesses in Process Monitor.
This is weird, as on the app side, such "unaligned" accesses are rather typical. Seems like some layer should deal with that, but doesn't.

Attached 18394-stacks-alignment-error-vs-success.txt you can also see some info collected with Process Monitor for such an unaligned access; first, with an error being produces, then subsequently retried by the app. (Interestingly, the code paths seem different...)

Windows development | Windows API - Win32
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.