Skip to content

add 'stat auth' to report authn/authz cache sizing - #6089

Merged
mohitkhullar merged 1 commit into
bloomberg:mainfrom
mohitkhullar:auth_cache_stats
Jul 29, 2026
Merged

add 'stat auth' to report authn/authz cache sizing#6089
mohitkhullar merged 1 commit into
bloomberg:mainfrom
mohitkhullar:auth_cache_stats

Conversation

@mohitkhullar

Copy link
Copy Markdown
Contributor

/plugin-branch auth_cache_stats

@roborivers roborivers 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.

Cbuild submission: Error ⚠.
Regression testing: Success ✓.

The first 10 failing tests are:
sc_resume_logicalsc_generated **quarantined**
cldeadlock
reco-ddlk-sql **quarantined**
consumer_non_atomic_default_consumer_generated **quarantined**
sys_cmd_access
fdb_compat_rte_connect_generated
sc_downgrade [timeout] **quarantined**

/plugin-branch auth_cache_stats

Signed-off-by: mkhullar <mohit.khullar@gmail.com>

@roborivers roborivers 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.

Cbuild submission: Error ⚠.
Regression testing: Success ✓.

The first 10 failing tests are:
sp_snapshot_generated
noresetgen
consumer_non_atomic_default_consumer_generated **quarantined**
sc_downgrade [timeout] **quarantined**
reco-ddlk-sql [timeout] **quarantined**

@roborivers roborivers 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.

Cbuild submission: Success ✓.
Regression testing: Success ✓.

The first 10 failing tests are:
consumer_non_atomic_default_consumer_generated **quarantined**
sc_downgrade [timeout] **quarantined**
reco-ddlk-sql [timeout] **quarantined**

@mohitkhullar

Copy link
Copy Markdown
Contributor Author

auth authn cache: size=500/500 lookups=4032 hits=2018 misses=2014 hit_ratio=50.0% evicted=1514 aged_out=0 pushed_before_ageout=1514 pushed=100.0%
auth authz cache: size=2000/2000 lookups=4051 hits=16 misses=4035 hit_ratio=0.4% evicted=2035 aged_out=0 pushed_before_ageout=2035 pushed=100.0%

^ new task for each query ^

@mohitkhullar

Copy link
Copy Markdown
Contributor Author

adding a query with sleep(600) in same session of cdb2sql
LONG REQUEST (600035 ms) finished (see /bb/data/mohitdb1.longreqs for details)
auth authn cache: size=500/500 lookups=4043 hits=2025 misses=2018 hit_ratio=50.1% evicted=1518 aged_out=2 pushed_before_ageout=1516 pushed=99.9%
auth authz cache: size=2000/2000 lookups=4077 hits=29 misses=4048 hit_ratio=0.7% evicted=2046 aged_out=11 pushed_before_ageout=2035 pushed=99.5%

@mohitkhullar

Copy link
Copy Markdown
Contributor Author

Thanks

@mohitkhullar
mohitkhullar merged commit 65106a8 into bloomberg:main Jul 29, 2026
4 checks passed
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