1. 20 Feb, 2020 1 commit
    • Mario de la Ossa's avatar
      Set all NULL `lock_version` values to 0 Part 1 · 57542a9f
      Mario de la Ossa authored
      Rails silently casts NULL `lock_version` values to 0 while doing
      optimistic locking, which causes false stale object exceptions. We had a
      monkey patch that would change it to check for [NULL, 0] but want to
      avoid monkey-patching if possible, which means we need to clean up our
      database values.
      
      This commit deals with Issuables (Issues, Epics, Merge Requests)
      57542a9f
  2. 19 Feb, 2020 39 commits