AzureBlobIndexInput Seek is not implemented (RetriableStream)
Have been attempting to get my index on blob storage and encountered an issue when querying the index. I did not get this error when trying a small index, it only appeared in a larger index.
When performing queries on a blob index I get a not implemented exception in Seek in the underlying stream.
The issue is found here:
AzureBlobIndexInput.cs#L26
this.stream = blobDownloadInfo.Content;
The stream returned by that line is a RetriableStream. This stream does not support seeking.
Whereas cloned instances use LazyLoadingReadOnlyStream and more often than not seeking would work successfully on my breakpoints as they were using this stream.
I was able fix my local copy by using the OpenRead stream instead, just as the Clone method uses
e.g. replace line 26 with
this.stream = blobClient.OpenRead();
I can try and provide you with an index that exhibits the issue.