Page MenuHomePhabricator

Make cluster repositories more chatty
ClosedPublic

Authored by epriestley on Apr 24 2016, 4:58 PM.
Tags
None
Referenced Files
F13095281: D15791.diff
Thu, Apr 25, 8:07 AM
F13090822: D15791.diff
Thu, Apr 25, 2:35 AM
Unknown Object (File)
Fri, Apr 19, 4:35 PM
Unknown Object (File)
Mon, Apr 15, 10:58 PM
Unknown Object (File)
Thu, Apr 11, 12:17 AM
Unknown Object (File)
Sun, Apr 7, 4:57 PM
Unknown Object (File)
Sun, Mar 31, 2:24 PM
Unknown Object (File)
Sun, Mar 31, 2:24 PM
Subscribers
None

Details

Summary

Ref T10860. At least in Git over SSH, we can freely echo a bunch of stuff to stderr and Git will print it to the console, so we can tell users what's going on.

This should make debugging, etc., easier. We could tone this down a little bit once things are more stable if it's a little too chatty.

Test Plan
$ echo D >> record && git commit -am D && git push
[master ca5efff] D
 1 file changed, 1 insertion(+)
# Push received by "local001.phacility.net", forwarding to cluster host.
# Waiting up to 120 second(s) for a cluster write lock...
# Acquired write lock immediately.
# Waiting up to 120 second(s) for a cluster read lock on "local001.phacility.net"...
# Acquired read lock immediately.
# Device "local001.phacility.net" is already a cluster leader and does not need to be synchronized.
# Ready to receive on cluster host "local001.phacility.net".
Counting objects: 3, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (2/2), done.
Writing objects: 100% (3/3), 256 bytes | 0 bytes/s, done.
Total 3 (delta 1), reused 0 (delta 0)
To ssh://local@localvault.phacility.com/diffusion/26/locktopia.git
   8616189..ca5efff  master -> master

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Make cluster repositories more chatty.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.
chad edited edge metadata.
This revision is now accepted and ready to land.Apr 25 2016, 2:33 PM
This revision was automatically updated to reflect the committed changes.