Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-13140

As an admin, I would like an API call to completely rebuild Bitbucket's Elasticsearch indexes

XMLWordPrintable

    • 7
    • We collect Bitbucket feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      Currently, there is an API call that forces Bitbucket to attempt a re-index of all repositories that is available by making a POST request to "/rest/indexing/latest/sync".

      However, this reindex is performed using the indexes that already exist, meaning that the only way to clear out corrupted/bad index entries is to fully remove all indexes from the filesystem while Bitbucket is offline (as per Resolution #2 in the following knowledge article: Rebuild the Elasticsearch Indexes for Bitbucket Data Center - Atlassian Support).

      This request is to implement a REST API call that, when invoked, will initiate a full background reindex during runtime that will clear out any existing index entries and then begin the index sequence from scratch for each repository.

            Unassigned Unassigned
            eslaughter@atlassian.com Evan Slaughter
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: