alpha
Login
or
Join now
boltless.me
/
zoekt
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
fork of https://github.com/sourcegraph/zoekt
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
zoekt
/
cmd
/
at
b97d734760cec3ddde795683731e48a9e674ebb7
18 folders
1 file
Stefan Hengl
sourcegraph-indexserver: GRPC, implement DeleteAllData (#923)
1y ago
b97d7347
zoekt
Document all the commands + packages (#904) This PR adds doc comments for all packages/ commands.
1 year ago
zoekt-archive-index
Document all the commands + packages (#904) This PR adds doc comments for all packages/ commands.
1 year ago
zoekt-dynamic-indexserver
Document all the commands + packages (#904) This PR adds doc comments for all packages/ commands.
1 year ago
zoekt-git-clone
Document all the commands + packages (#904) This PR adds doc comments for all packages/ commands.
1 year ago
zoekt-git-index
Document all the commands + packages (#904) This PR adds doc comments for all packages/ commands.
1 year ago
zoekt-index
Document all the commands + packages (#904) This PR adds doc comments for all packages/ commands.
1 year ago
zoekt-indexserver
Document all the commands + packages (#904) This PR adds doc comments for all packages/ commands.
1 year ago
zoekt-merge-index
sourcegraph-indexserver: GRPC, implement DeleteAllData (#923) Relates to #920 Relates to SPLF-874 This implements DeleteAllData. We hold the global lock while deleting all simple shards belonging to a tenant. We also handle compound shards by disassembling them first. Note that this "only" deletes persisted data. Updating the queue, for example, seems fragile because it might immediately get updated by Sourcegraph. This implies that Sourcegraph first has to delete the tenant in the Sourcegraph DB first and then call this new endpoint. Even if the queue still has a reference to a deleted tenant, indexserver won't be able to retrieve index options or clone the repo from gitserver. Test plan: - new unit tests - manual testing: I ran this together with Sourcegraph and triggered a delete by calling DeleteAllData directly. I confirmed that all shards, including compound shards are deleted.
1 year ago
zoekt-mirror-bitbucket-server
Document all the commands + packages (#904) This PR adds doc comments for all packages/ commands.
1 year ago
zoekt-mirror-gerrit
Document all the commands + packages (#904) This PR adds doc comments for all packages/ commands.
1 year ago
zoekt-mirror-gitea
Document all the commands + packages (#904) This PR adds doc comments for all packages/ commands.
1 year ago
zoekt-mirror-github
Document all the commands + packages (#904) This PR adds doc comments for all packages/ commands.
1 year ago
zoekt-mirror-gitiles
Document all the commands + packages (#904) This PR adds doc comments for all packages/ commands.
1 year ago
zoekt-mirror-gitlab
Document all the commands + packages (#904) This PR adds doc comments for all packages/ commands.
1 year ago
zoekt-repo-index
Document all the commands + packages (#904) This PR adds doc comments for all packages/ commands.
1 year ago
zoekt-sourcegraph-indexserver
sourcegraph-indexserver: GRPC, implement DeleteAllData (#923) Relates to #920 Relates to SPLF-874 This implements DeleteAllData. We hold the global lock while deleting all simple shards belonging to a tenant. We also handle compound shards by disassembling them first. Note that this "only" deletes persisted data. Updating the queue, for example, seems fragile because it might immediately get updated by Sourcegraph. This implies that Sourcegraph first has to delete the tenant in the Sourcegraph DB first and then call this new endpoint. Even if the queue still has a reference to a deleted tenant, indexserver won't be able to retrieve index options or clone the repo from gitserver. Test plan: - new unit tests - manual testing: I ran this together with Sourcegraph and triggered a delete by calling DeleteAllData directly. I confirmed that all shards, including compound shards are deleted.
1 year ago
zoekt-test
Document all the commands + packages (#904) This PR adds doc comments for all packages/ commands.
1 year ago
zoekt-webserver
sourcegraph-indexserver: add grpc server (#920) Relates to SPLF-874 This adds a grpc server to sourcegraph-indexserver. For now it supports just one method. The diff is quite big, so I left comments to mark the most important bits. I used the opportunity to clean up a bit (=> hence the big diff): - Reuse grpc logic from webserver and move those bits to "/gprc/..." - Move "protos" inside the new "grpc" directory (=> requires changes of import statements in Sourcegraph) - Refactor import aliases for grpc packages across the codebase Test plan: I tested this locally by calling the new grpc endpoint directly.
1 year ago
flags.go
sourcegraph-indexserver: GRPC, implement DeleteAllData (#923) Relates to #920 Relates to SPLF-874 This implements DeleteAllData. We hold the global lock while deleting all simple shards belonging to a tenant. We also handle compound shards by disassembling them first. Note that this "only" deletes persisted data. Updating the queue, for example, seems fragile because it might immediately get updated by Sourcegraph. This implies that Sourcegraph first has to delete the tenant in the Sourcegraph DB first and then call this new endpoint. Even if the queue still has a reference to a deleted tenant, indexserver won't be able to retrieve index options or clone the repo from gitserver. Test plan: - new unit tests - manual testing: I ran this together with Sourcegraph and triggered a delete by calling DeleteAllData directly. I confirmed that all shards, including compound shards are deleted.
1 year ago