Skip to content

feat(client): interactive transactions - #8384

Merged
millsp merged 60 commits into
mainfrom
feat/long-running-transactions
Aug 9, 2021
Merged

millsp merged 60 commits into
mainfrom
feat/long-running-transactions

Conversation

@millsp

@millsp millsp commented Jul 21, 2021 •

Copy link
Copy Markdown
Contributor

closes #1844
closes #7956
closes #7786
closes #7399
closes #6705
closes #7326

Internal doc

@millsp millsp changed the title feat(lrt): long running transactions impl feat(lrt): initial implementation Jul 21, 2021
@millsp
millsp force-pushed the feat/long-running-transactions branch 2 times, most recently from ea0c578 to 1d7d5da Compare July 23, 2021 00:51
@millsp millsp changed the title feat(lrt): initial implementation feat(client): long-running transactions Jul 23, 2021
@millsp
millsp marked this pull request as ready for review August 7, 2021 02:27
headers: string,
transactionId?: string,
): Promise<string>
sdlSchema(): Promise<string>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@williamluke4

Any idea what is sdlSchema?

It’s not documented nor used I think.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Can't remember, I'll have to ask Julius

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

We can take care of this this in a separate PR

@williamluke4 williamluke4 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

As always awesome work @millsp 🎉

Comment on lines +125 to +127
get<R>(path: string, headers?: Client.DispatchOptions['headers']) {
return this.raw<R>('GET', path, headers)
}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
get<R>(path: string, headers?: Client.DispatchOptions['headers']) {
return this.raw<R>('GET', path, headers)
}
get<R>(endpoint: string, headers?: Client.DispatchOptions['headers']) {
return this.raw<R>('GET', endpoint, headers)
}

to make it consistent with POST

): Promise<{ data: T; elapsed: number }>
requestBatch<T>(
headers?: QueryEngineRequestHeaders,
numTry?: number,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I thought numTry was not used from last deep dive, is it used anywhere?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

(We can do that in a separate PR)

@Jolg42 Jolg42 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Great work ✨

@millsp
millsp merged commit fe3d63c into main Aug 9, 2021
@millsp
millsp deleted the feat/long-running-transactions branch August 9, 2021 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

4 participants