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

Adding sync state service to get latest row version based on given row ids #3128

Merged
merged 3 commits into from
Dec 11, 2024

Conversation

ebo-codaio
Copy link
Contributor

@ebo-codaio ebo-codaio commented Dec 10, 2024

@ebo-codaio ebo-codaio requested review from a team as code owners December 10, 2024 00:09
@ebo-codaio ebo-codaio force-pushed the ebo-row-version branch 3 times, most recently from 1be1007 to 7f84325 Compare December 10, 2024 00:18
Copy link
Collaborator

@jonathan-codaio jonathan-codaio left a comment

Choose a reason for hiding this comment

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

Sorry for missing the meeting on this, probably some of these were discussed there.

api_types.ts Outdated
*
* TODO(ebo): unhide this
*/
readonly syncState: SyncStateService;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can we maybe call this syncStateService? Isn't sync an object that already represents "sync state"?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I guess it might be clearer if we include service in the name? wdyt @erickoledadevrel

Copy link
Contributor

Choose a reason for hiding this comment

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

I like adding "Service"

api_types.ts Outdated Show resolved Hide resolved
*
* TODO(ebo): unhide this
*/
getLatestRowVersions(rowIds: string[]): Promise<{[rowId: string]: string}>;
Copy link
Collaborator

Choose a reason for hiding this comment

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

We call things items and item ids in most places, but we use "rows" and row ids" here, how come the difference?

Copy link
Contributor

Choose a reason for hiding this comment

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

We felt like it would be better to standardize on "rows". Here's the accompanying change, it's pretty small: #3129

Copy link
Contributor

Choose a reason for hiding this comment

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

We also already used rows:
Screenshot 2024-12-09 at 5 12 50 PM

runtime/bootstrap/index.ts Outdated Show resolved Hide resolved
testing/execution.ts Outdated Show resolved Hide resolved
testing/fetcher.ts Outdated Show resolved Hide resolved
runtime/bootstrap/index.ts Outdated Show resolved Hide resolved
testing/ivm_helper.ts Outdated Show resolved Hide resolved
@tuan-codaio tuan-codaio requested a review from a team December 10, 2024 22:36
@ebo-codaio ebo-codaio merged commit 1a4d5b9 into main Dec 11, 2024
1 check passed
@ebo-codaio ebo-codaio deleted the ebo-row-version branch December 11, 2024 22:38
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