Skip to content

Determine if scan server tablet metadata cache blocks on refresh #4544

@keith-turner

Description

@keith-turner

The ScanServer has a cache of tablet metadata with an expire after write time. Whan a tablet is constantly being read from this cache, what happens when the expiration time arrives? Does it drop it cause a block read for the next cache use? Ideally items in the cache that were recently used could be reloaded in such a way that the expiration does not cause blocking for the reload, but not sure if this is possible w/ caffine.

The first use of tablet should cause a blocking read on the cache, but if the tablet continues to be used frequently it would be nice if its refreshed in the background somehow w/o causing further blocking reads form the cache.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

✅ Done

Relationships

None yet

Development

No branches or pull requests

Issue actions