Module buckets

Source

Structsยง

TimeBuckets ๐Ÿ”’

Constantsยง

TIME_BUCKETS ๐Ÿ”’
A set of predefined time buckets.

Functionsยง

infer_time_bucket ๐Ÿ”’
Infers the suitable time bucket duration. Now it simply find the max and min timestamp across all SSTs in level and fit the time span into time bucket.