-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
All shard names must be integers #195
Comments
Yes, its possible.. in my project we use guids something like below:
|
did you need to comment out any checks in order to do that?
and got the above error |
I am still getting the error when my shard names are uuids. Any possible explanation on how to get around the issue ? |
try opening up the gem and see where the validation comes from, then try to disable it ... best as opt-in |
@grosser |
with opening up the gem I meant |
@grosser I have tried to only comment out the checks and see if that works in the rails service. On initial test it was working fine. Other than the integer checks is there any other place where the gem assumes integers and fails ? I can try to find in the gem rspecs but needed some guidance into what might be get messed up in the gem if i provide strings. |
I don't think there are any other hardcoded checks in there.
…On Wed, Aug 19, 2020 at 8:07 AM Priyank Kapadia ***@***.***> wrote:
@grosser <https://github.com/grosser> I
have tried to only comment out the checks and see if that works in the
rails service. On initial test it was working fine. Other than the integer
checks is there any other place where the gem assumes integers and fails ?
I can try to find in the gem rspecs but needed some guidance into what
might be get messed up in the gem if i provide strings.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#195 (comment)>, or
unsubscribe <https://github.com/notifications/unsubscribe-auth/AAACYZ7A2SYGMHM5Q5LMIATSBPTDVANCNFSM4FLOHQFA>.
|
my first reaction was 'what??'
trying to evaluate your gem as a replacement for octopus which does not work with rails 5.2
is it possible to use named shards without forking the gem?
The text was updated successfully, but these errors were encountered: