correct type internal to kvstore (minor) (#1246)

All of the internal variables related to number of dicts in the kvstore
are type `int`. Not sure why these 2 items were declared as `long long`.

Signed-off-by: Jim Brunner <brunnerj@amazon.com>
This commit is contained in:
Jim Brunner 2024-11-01 15:16:18 -07:00 committed by GitHub
parent e985ead7f9
commit 0d7b2344b2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -54,8 +54,8 @@ struct _kvstore {
int flags;
dictType *dtype;
dict **dicts;
long long num_dicts;
long long num_dicts_bits;
int num_dicts;
int num_dicts_bits;
list *rehashing; /* List of dictionaries in this kvstore that are currently rehashing. */
int resize_cursor; /* Cron job uses this cursor to gradually resize dictionaries (only used if num_dicts > 1). */
int allocated_dicts; /* The number of allocated dicts. */