codis icon indicating copy to clipboard operation
codis copied to clipboard

Any problems if i increase the maxslotnum to 16384?

Open hiqbn opened this issue 6 years ago • 1 comments

i havent try but i would like to increase maxslotnum to 16384. is that ok if i just change this line in this file?

./pkg/models/slots.go

// Copyright 2016 CodisLabs. All Rights Reserved. // Licensed under the MIT (MIT-LICENSE.txt) license.

package models

import "strings"

const ( ForwardSync = iota ForwardSemiAsync )

//const MaxSlotNum = 1024 const MaxSlotNum = 16384

hiqbn avatar May 17 '19 12:05 hiqbn

will there be any issues with resharding etc? or what else i need to look out for in codis proxy etc too that needs to be changed? i would like it to be 16384 instead of 1024

hiqbn avatar May 17 '19 12:05 hiqbn