1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-24 15:52:41 +01:00
phorge-phorge/src/applications/diffusion/ssh
epriestley 368d2d1ddb Improve robustness of cluster version bookkeeping
Summary:
Ref T4292. Small fixes:

  - There was a bug with the //first// write, where we'd write 1 but expect 0. Fix this.
  - Narrow the window where we hold the `isWriting` lock: we don't need to wait for the client to finish.
  - Release the lock even if something throws.
  - Use a more useful variable name.

Test Plan:
  - Made new writes to a fresh cluster repository.
  - Made sequential writes.
  - Made concurrent writes.
  - Made good writes and bad writes.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T4292

Differential Revision: https://secure.phabricator.com/D15747
2016-04-18 11:54:59 -07:00
..
__tests__ phtize all the things 2015-05-22 21:16:39 +10:00
DiffusionGitReceivePackSSHWorkflow.php Improve robustness of cluster version bookkeeping 2016-04-18 11:54:59 -07:00
DiffusionGitSSHWorkflow.php Prepare SSH connections for proxying 2015-01-28 10:18:07 -08:00
DiffusionGitUploadPackSSHWorkflow.php Move toward multi-master replicated repositories 2016-04-12 08:57:57 -07:00
DiffusionMercurialServeSSHWorkflow.php Added an intercept to Mercurial's capabilities command to remove bundle2. 2015-10-10 07:14:48 -07:00
DiffusionMercurialSSHWorkflow.php Rename DiffusionSSHWorkflow subclasses for consistency 2015-01-05 06:33:19 +11:00
DiffusionMercurialWireClientSSHProtocolChannel.php phtize all the things 2015-05-22 21:16:39 +10:00
DiffusionSSHWorkflow.php Make serving repositories work with alternate URIs 2016-02-18 10:06:03 -08:00
DiffusionSubversionServeSSHWorkflow.php When proxying the SVN protocol, don't mutate URIs in protocol frames if we're an intracluster proxy 2016-04-14 10:15:23 -07:00
DiffusionSubversionSSHWorkflow.php Rename DiffusionSSHWorkflow subclasses for consistency 2015-01-05 06:33:19 +11:00