Skip to content

Invalidate RestCatalog token cache#1165

Merged
bbalser merged 1 commit into
mainfrom
mj/catalog-invalidate-token
Mar 26, 2026
Merged

Invalidate RestCatalog token cache#1165
bbalser merged 1 commit into
mainfrom
mj/catalog-invalidate-token

Conversation

@michaeldjeffrey
Copy link
Copy Markdown
Contributor

There are 2 token caches being used.

EndpointAuth that we use for operations that are not yet supported by RestCatalog and an internal one to RestCatalog for other operations.

When we received a 401 from the catalog, we were only invalidating one of those tokens, when we should have been invalidating both.

As RestCatalog becomes more mature, it may remove our need to implement some of the operations ourselves, and we can get rif of our own token cache.

There are 2 token caches being used.

`EndpointAuth` that we use for operations that are not yet supported by
`RestCatalog` and an internal one to `RestCatalog` for other operations.

When we received a 401 from the catalog, we were only invalidating one
of those tokens, when we should have been invalidating both.

As `RestCatalog` becomes more mature, it may remove our need to
implement some of the operations ourselves, and we can get rif of our
own token cache.
@bbalser bbalser merged commit f0b386c into main Mar 26, 2026
31 checks passed
@bbalser bbalser deleted the mj/catalog-invalidate-token branch March 26, 2026 18:25
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.

2 participants