Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delete indexer DB entries when (re)creating index #3385

Merged
merged 2 commits into from
Jan 17, 2018

Conversation

ethantkoenig
Copy link
Member

Previously, if you needed to recreate the repo indexer, you need to delete the indexer and manually clear the repo_indexer_status table in the DB. Now, you just need to delete the indexer.

@lafriks lafriks added the type/enhancement An improvement of existing functionality label Jan 17, 2018
@lafriks lafriks added this to the 1.4.0 milestone Jan 17, 2018
@tboerger tboerger added the lgtm/need 1 This PR needs approval from one additional maintainer to be merged. label Jan 17, 2018
@codecov-io
Copy link

codecov-io commented Jan 17, 2018

Codecov Report

Merging #3385 into master will increase coverage by 0.03%.
The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #3385      +/-   ##
==========================================
+ Coverage   35.57%   35.61%   +0.03%     
==========================================
  Files         281      281              
  Lines       40571    40574       +3     
==========================================
+ Hits        14435    14452      +17     
+ Misses      23995    23984      -11     
+ Partials     2141     2138       -3
Impacted Files Coverage Δ
models/repo_indexer.go 46.01% <0%> (+4.31%) ⬆️
modules/process/manager.go 81.15% <0%> (+4.34%) ⬆️
modules/indexer/indexer.go 77.5% <0%> (+7.5%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a880b17...34e1e9a. Read the comment docs.

@tboerger tboerger added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Jan 17, 2018
@lafriks lafriks merged commit b0d5bb9 into go-gitea:master Jan 17, 2018
@ethantkoenig ethantkoenig deleted the recreate_repo_indexer branch January 19, 2018 04:53
@go-gitea go-gitea locked and limited conversation to collaborators Nov 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. type/enhancement An improvement of existing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants