Skip to content

[fs] Fix incorrect seeking semantics of GoogleStorageFS#12487

Merged
danking merged 3 commits into
hail-is:mainfrom
tpoterba:leo-fs-bug
Nov 22, 2022
Merged

[fs] Fix incorrect seeking semantics of GoogleStorageFS#12487
danking merged 3 commits into
hail-is:mainfrom
tpoterba:leo-fs-bug

Conversation

@tpoterba

Copy link
Copy Markdown
Contributor

No description provided.

}

override def seek(newPos: Long): Unit = {
super.seek(newPos)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seeking the Google reader was incorrect if we ended up doing a "virtual" seek within the buffer in the superclass. Split it out for clarity and correctness.

@danking danking merged commit 5d7b80c into hail-is:main Nov 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants