I am using the default setting
shortid.characters("0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-_");
shortid.generate().substring(0, 5);
I am seeing the duplicate IDs generating and resulting in failure when I have short id as unique index while saving in DB.
We are running the code in 5 PODs in each of kubernetes clusters.. Please suggest.
I am using the default setting shortid.characters("0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-_"); shortid.generate().substring(0, 5); I am seeing the duplicate IDs generating and resulting in failure when I have short id as unique index while saving in DB.
We are running the code in 5 PODs in each of kubernetes clusters.. Please suggest.