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
Everytime the jobs runs on the same round and the pools are updated (this not happens unless the developer forces to run), the pools are not updated, but pushed new ones instead. The updateDelegatePools function should be modify to check this before inserting new one (maybe the method findOneAndUpdate could help)
Agupane
changed the title
[Bug] The pools of the delegate are getting dupplicated
[Bug] The pools of the delegate are being inserted duplicated
Jul 26, 2019
Everytime the jobs runs on the same round and the pools are updated (this not happens unless the developer forces to run), the pools are not updated, but pushed new ones instead. The
updateDelegatePools
function should be modify to check this before inserting new one (maybe the methodfindOneAndUpdate
could help)Note: doing the check as db-level is not available in mongo. Check this: https://stackoverflow.com/questions/6743849/mongodb-unique-index-on-array-elements-property
The text was updated successfully, but these errors were encountered: