repos: Add corrupted to repos statistics#46410
Conversation
|
Current dependencies on/for this PR:
This comment was auto-generated by Graphite. |
|
Codenotify: Notifying subscribers in CODENOTIFY files for diff b445895...07ca3d1.
|
sashaostrikov
left a comment
There was a problem hiding this comment.
LGTM!
I'm not a PLSQL expert, didn't take a very close look to that part.
|
❌ Problem: the label |
3 similar comments
|
❌ Problem: the label |
|
❌ Problem: the label |
|
❌ Problem: the label |
|
❌ Problem: the label |
1 similar comment
|
❌ Problem: the label |
mrnugget
left a comment
There was a problem hiding this comment.
Good stuff, dude. Impressive, actually.
One thing I want though: tests that make sure we clean up the counters once the repos are recloned. See my comment on the test file.
- update repo statistics tests for corrupted stat
- review comments - set not null for corrupted in repo_statistics Co-authored-by: Alex Ostrikov <alex.ostrikov@sourcegraph.com>
- add testcase to simulate recloning - fix comments of what changed in sql migration Co-authored-by: Thorsten Ball <mrnugget@gmail.com>
894b36f to
07ca3d1
Compare
|
|

Add the count of currently corrupted repos to
gitserver_repos_statistics and repo_statistics
statistics tables
Test plan
unit tests