• Alexandru Croitor's avatar
    Migrate all merge request user mentions to db table · 9867ce42
    Alexandru Croitor authored
    Scan the entire merge requests table in batches of 100K and
    then select only records that can contain mentions from each
    batch. This way the number of fetched records is constantly
    100K and we can ensure query does not timeout due to a overly
    large batch of records being queried.
    9867ce42
merge_request.rb 1.26 KB