You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We ran into the issue that Redis lock key for job scheduler is non-deterministic across nodes when using Jason encode, since the key is based on the MD5 hash of the serialized job. Right now the order of the keys in json object has to be the same which is not always the case, resulting in different keys for the same job.
Using a custom serializer fixes this. We now use Jason encode with ordered keys option.
Leaving a comment in case someone else runs into this in the future.
The text was updated successfully, but these errors were encountered:
We ran into the issue that Redis lock key for job scheduler is non-deterministic across nodes when using Jason encode, since the key is based on the MD5 hash of the serialized job. Right now the order of the keys in json object has to be the same which is not always the case, resulting in different keys for the same job.
Using a custom serializer fixes this. We now use Jason encode with ordered keys option.
Leaving a comment in case someone else runs into this in the future.
The text was updated successfully, but these errors were encountered: