Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

objstorage: rename Shared to Remote in the objstorage provider API #2754

Merged
merged 1 commit into from
Jul 19, 2023

Conversation

RaduBerinde
Copy link
Member

IsShared() is split into IsRemote(), IsShared(), IsExternal().

I tried to update the former uses of IsShared() appropriately - use IsRemote() in most cases but keep using IsShared() in the disagg storage code for skip-shared iteration. These callsites can use reviewing though.

I can wait to merge this when it is convenient, given the other ongoing work.

@RaduBerinde RaduBerinde requested review from itsbilal and a team July 19, 2023 17:49
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@RaduBerinde RaduBerinde force-pushed the shared-rename branch 2 times, most recently from 6adae36 to 78406f3 Compare July 19, 2023 18:07
@RaduBerinde
Copy link
Member Author

Updated to rename backing-related types and methods.

Copy link
Member

@itsbilal itsbilal left a comment

Choose a reason for hiding this comment

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

LGTM

ingest.go Outdated Show resolved Hide resolved
ingest.go Outdated Show resolved Hide resolved
`IsShared()` is split into `IsRemote()`, `IsShared()`, `IsExternal()`.
@RaduBerinde
Copy link
Member Author

Thanks, fixed. Let me know if/when I can merge.

@RaduBerinde RaduBerinde merged commit 456a2a2 into cockroachdb:master Jul 19, 2023
9 checks passed
@RaduBerinde RaduBerinde deleted the shared-rename branch July 19, 2023 19:01
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