Skip to content
Snippets Groups Projects

Add migration for backfilling traversal_ids in blobs and wiki blobs

Merged Siddharth Dungarwal requested to merge 351381-backfill-blobs-and-wiki-blobs into master
1 unresolved thread
Compare and Show latest version
2 files
+ 3
3
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -3,7 +3,7 @@
class BackfillTraversalIdsToBlobsAndWikiBlobs < Elastic::Migration
include Elastic::MigrationHelper
BATCH_SIZE = 1000
BATCH_SIZE = 100_000
ELASTIC_TIMEOUT = '5m'
BLOB_AND_WIKI_BLOB = %w[blob wiki_blob].freeze
batched!
@@ -25,7 +25,7 @@ def migrate
end
def completed?
helper.refresh_index
helper.refresh_index(index_name: helper.target_name)
log "Running the count_items_missing_traversal_ids query"
total_remaining = count_items_missing_traversal_ids
Loading