FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

feat(bigtable): populate alts field in channel entry by sushanb · Pull Request #2702 · googleapis/java-bigtable · GitHub

This repository was archived by the owner on May 8, 2026. It is now read-only.
/ java-bigtable Public archive

feat(bigtable): populate alts field in channel entry - #2702

Merged
sushanb merged 3 commits into
googleapis:mainfrom
sushanb:algs
Nov 6, 2025
Merged

feat(bigtable): populate alts field in channel entry#2702
sushanb merged 3 commits into
googleapis:mainfrom
sushanb:algs

Conversation

sushanb commented Nov 6, 2025

Copy link
Copy Markdown
Contributor

No description provided.

sushanb requested review from a team November 6, 2025 01:37
product-auto-label Bot added size: s Pull request size is small. api: bigtable Issues related to the googleapis/java-bigtable API. labels Nov 6, 2025
sushanb requested a review from mutianf November 6, 2025 01:37
sushanb added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Nov 6, 2025
yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Nov 6, 2025
boolean result = false;
isAltsHolder.compareAndSet(null, result);
boolean currentIsAlts = AltsContextUtil.check(call);
isAltsHolder.set(currentIsAlts);

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.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

do we need compareAndSet(null, result)?

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.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

compareAndSet(null, result)

we don't need it.

intiially, i wanted to set the alts boolean only once.
so used compareAndSet(null, result) -> will only set if null (one time)

but i think we should check if for every client call and set the result(seems cheap operation).

sushanb merged commit 1bfb763 into googleapis:main Nov 6, 2025
23 of 24 checks passed
gcf-merge-on-green Bot pushed a commit that referenced this pull request Nov 18, 2025
sushanb added a commit that referenced this pull request Nov 18, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

api: bigtable Issues related to the googleapis/java-bigtable API. size: s Pull request size is small.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL