Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

Conversation

eseliger
Copy link
Member

The database is not super clean when we do state changes, for example we keep the repo size after marking as not cloned, and keep shard assignments, too.

This PR splits those operations into three, and resets more rows.

Test plan:

Cloning and tests around clone status calls are still passing.

@github-actions github-actions bot added team/product-platform team/source Tickets under the purview of Source - the one Source to graph it all labels Apr 15, 2024
@eseliger eseliger force-pushed the es/04-11-gitserverextractrepositoryserviceingrpc branch from c34062f to e0d352d Compare April 15, 2024 19:18
@eseliger eseliger force-pushed the es/04-13-gitserverbettercleanupafterstatechanges branch from 5fb42ba to 9afe418 Compare April 15, 2024 19:19
@eseliger eseliger force-pushed the es/04-11-gitserverextractrepositoryserviceingrpc branch from e0d352d to ef4b95b Compare April 17, 2024 14:20
@eseliger eseliger force-pushed the es/04-13-gitserverbettercleanupafterstatechanges branch from 9afe418 to 212a062 Compare April 17, 2024 14:20
@eseliger eseliger force-pushed the es/04-11-gitserverextractrepositoryserviceingrpc branch 2 times, most recently from 21c9dbe to 2ea4046 Compare April 18, 2024 14:52
@eseliger eseliger force-pushed the es/04-13-gitserverbettercleanupafterstatechanges branch 2 times, most recently from 8be01d9 to ab7d551 Compare April 18, 2024 15:00
@eseliger eseliger changed the base branch from es/04-11-gitserverextractrepositoryserviceingrpc to es/04-13-gitserverstreamfetchprogress April 18, 2024 15:00
@eseliger eseliger force-pushed the es/04-13-gitserverstreamfetchprogress branch from 25801f0 to cc6cbd6 Compare April 18, 2024 23:14
@eseliger eseliger force-pushed the es/04-13-gitserverbettercleanupafterstatechanges branch from ab7d551 to 4209430 Compare April 18, 2024 23:14
@eseliger eseliger force-pushed the es/04-13-gitserverstreamfetchprogress branch from cc6cbd6 to f2d1857 Compare April 26, 2024 09:48
@eseliger eseliger force-pushed the es/04-13-gitserverbettercleanupafterstatechanges branch from 4209430 to f79e9d0 Compare April 26, 2024 09:48
The database is not super clean when we do state changes, for example we keep the repo size after marking as not cloned, and keep shard assignments, too.

This PR splits those operations into three, and resets more rows.

Test plan:

Cloning and tests around clone status calls are still passing.
@eseliger eseliger force-pushed the es/04-13-gitserverstreamfetchprogress branch from f2d1857 to c6b1485 Compare May 13, 2024 02:06
@eseliger eseliger force-pushed the es/04-13-gitserverbettercleanupafterstatechanges branch from f79e9d0 to f9d6775 Compare May 13, 2024 02:06
@eseliger eseliger closed this Sep 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cla-signed team/product-platform team/source Tickets under the purview of Source - the one Source to graph it all
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant