Skip to content

fix(spanner): remove json-iterator dependency#10099

Merged
rahul2393 merged 3 commits intogoogleapis:mainfrom
egonelbre:rmjsoniter
May 3, 2024
Merged

fix(spanner): remove json-iterator dependency#10099
rahul2393 merged 3 commits intogoogleapis:mainfrom
egonelbre:rmjsoniter

Conversation

@egonelbre
Copy link
Contributor

json-iterator heavily relies on an unmaintained modern-go/reflect2
that pokes at the internals of Go runtime. This was shown to cause
failures in golang/go#54766 (comment).

Switching to encoding/json does come with a performance penalty.

Updates #9380

json-iterator heavily relies on an unmaintained modern-go/reflect2
that pokes at the internals of Go runtime. This was shown to cause
failures in golang/go#54766 (comment).

Switching to encoding/json does come with a performance penalty.

Updates googleapis#9380
@egonelbre egonelbre requested a review from a team as a code owner May 3, 2024 12:58
@egonelbre egonelbre requested a review from a team May 3, 2024 12:58
@product-auto-label product-auto-label bot added the api: spanner Issues related to the Spanner API. label May 3, 2024
@rahul2393 rahul2393 added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label May 3, 2024
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label May 3, 2024
@noahdietz
Copy link
Contributor

@rahul2393 you'll need to squash/merge this yourself or add the automerge label

@rahul2393 rahul2393 enabled auto-merge (squash) May 3, 2024 16:48
@rahul2393 rahul2393 added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label May 3, 2024
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label May 3, 2024
@rahul2393 rahul2393 added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label May 3, 2024
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label May 3, 2024
@rahul2393 rahul2393 merged commit 3917cca into googleapis:main May 3, 2024
@egonelbre egonelbre deleted the rmjsoniter branch May 3, 2024 17:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: spanner Issues related to the Spanner API.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants