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

gitserver: Move repo timestamp updates to caller#62610

Merged
eseliger merged 1 commit into
mainfrom
es/05-13-gitservermoverepotimestampupdatestocaller
May 13, 2024
Merged

gitserver: Move repo timestamp updates to caller#62610
eseliger merged 1 commit into
mainfrom
es/05-13-gitservermoverepotimestampupdatestocaller

Conversation

@eseliger

Copy link
Copy Markdown
Member

This is a small step towards making gitserver itself less dependent on Sourcegraph concepts like the database, by making the repo-updater scheduler (later, this can be coordinator) write to the DB instead.

Note: Until we decide what to do with ensurerevision which schedules out-of-band updates that affect concurrency and the control flow, I decided to inline this behavior there to make it very explicit.

Test plan:

Existing tests are still passing.

@cla-bot cla-bot Bot added the cla-signed label May 13, 2024
Base automatically changed from es/05-12-gitserveraddapitoenumeratereposondisk to main May 13, 2024 12:25
This is a small step towards making gitserver itself less dependent on Sourcegraph concepts like the database, by making the repo-updater scheduler (later, this can be coordinator) write to the DB instead.

Note: Until we decide what to do with ensurerevision which schedules out-of-band updates that affect concurrency and the control flow, I decided to inline this behavior there to make it very explicit.

Test plan:

Existing tests are still passing.
@eseliger eseliger force-pushed the es/05-13-gitservermoverepotimestampupdatestocaller branch from 941522d to dcd6c6c Compare May 13, 2024 12:36

eseliger commented May 13, 2024

Copy link
Copy Markdown
Member Author

Merge activity

  • May 13, 8:36 AM EDT: Graphite rebased this pull request as part of a merge.
  • May 13, 8:50 AM EDT: @eseliger merged this pull request with Graphite.

@eseliger eseliger merged commit 3ee3796 into main May 13, 2024
@eseliger eseliger deleted the es/05-13-gitservermoverepotimestampupdatestocaller branch May 13, 2024 12:50
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.

2 participants