Page MenuHomePhabricator
Feed Advanced Search

Sep 4 2019

epriestley added a revision to T13366: Update Phortune to work better with "enterprise" billing/accounts departments: Unknown Object (Differential Revision).
Sep 4 2019, 2:11 PM · Phortune, Phacility

Sep 3 2019

epriestley added a comment to T13404: Make Phabricator compatible with ONLY_FULL_GROUP_BY.

There are only 23 occurrences of the string "GROUP BY" in the codebase, and, from inspection, many obviously do not conflict with ONLY_FULL_GROUP_BY.

Sep 3 2019, 11:54 PM · Database, Infrastructure
epriestley added a revision to T13404: Make Phabricator compatible with ONLY_FULL_GROUP_BY: Restricted Differential Revision.
Sep 3 2019, 11:43 PM · Database, Infrastructure
epriestley triaged T13404: Make Phabricator compatible with ONLY_FULL_GROUP_BY as Wishlist priority.
Sep 3 2019, 11:23 PM · Database, Infrastructure
epriestley closed T13403: "mysqli->real_connect()" can fail awkwardly without setting "error_code", plus bonus issues as Resolved.
Sep 3 2019, 7:54 PM · Database, Config
epriestley added a comment to T13286: When nodes in a cluster repository fail, reads are still routed with the same weight and failed reads do not recover.

Also remaining is to extend this behavior to the HTTP pathway (and to Mercurial/SVN, eventually).

Sep 3 2019, 7:35 PM · Clusters, Diffusion
epriestley added a revision to T13403: "mysqli->real_connect()" can fail awkwardly without setting "error_code", plus bonus issues: Restricted Differential Revision.
Sep 3 2019, 7:26 PM · Database, Config
epriestley added a revision to T13403: "mysqli->real_connect()" can fail awkwardly without setting "error_code", plus bonus issues: Unknown Object (Differential Revision).
Sep 3 2019, 7:23 PM · Database, Config
epriestley added a revision to T13403: "mysqli->real_connect()" can fail awkwardly without setting "error_code", plus bonus issues: Unknown Object (Differential Revision).
Sep 3 2019, 7:19 PM · Database, Config
epriestley triaged T13403: "mysqli->real_connect()" can fail awkwardly without setting "error_code", plus bonus issues as Low priority.
Sep 3 2019, 7:05 PM · Database, Config
epriestley added a revision to T13286: When nodes in a cluster repository fail, reads are still routed with the same weight and failed reads do not recover: Unknown Object (Differential Revision).
Sep 3 2019, 6:37 PM · Clusters, Diffusion
epriestley added a comment to T13286: When nodes in a cluster repository fail, reads are still routed with the same weight and failed reads do not recover.
  • if we have already retried 3 times, do not retry;
Sep 3 2019, 6:07 PM · Clusters, Diffusion
epriestley added a revision to T13286: When nodes in a cluster repository fail, reads are still routed with the same weight and failed reads do not recover: Unknown Object (Differential Revision).
Sep 3 2019, 5:41 PM · Clusters, Diffusion
epriestley added a revision to T13286: When nodes in a cluster repository fail, reads are still routed with the same weight and failed reads do not recover: Unknown Object (Differential Revision).
Sep 3 2019, 4:50 PM · Clusters, Diffusion
epriestley added a comment to T13286: When nodes in a cluster repository fail, reads are still routed with the same weight and failed reads do not recover.

we'll reduce silly client-visible behavior where you request /tourtle.git instead of /turtle.git and the server seems confused...

Sep 3 2019, 4:32 PM · Clusters, Diffusion
epriestley added a revision to T13286: When nodes in a cluster repository fail, reads are still routed with the same weight and failed reads do not recover: Unknown Object (Differential Revision).
Sep 3 2019, 3:58 PM · Clusters, Diffusion

Sep 2 2019

epriestley created T13402: Owner audit flag got flipped in update?.
Sep 2 2019, 3:06 PM · Audit
epriestley added a comment to T13339: Update "diffusion.searchquery" to handle multiple path arguments and various weird cases.

See also https://discourse.phabricator-community.org/t/diffusion-search-how-to-do-case-insensitive-search/2854/.

Sep 2 2019, 3:04 PM · Diffusion, Conduit
epriestley closed T13393: Improve repository shard migration pathway in the shared cluster as Resolved.

The migration in PHI1403 seems to have gone through cleanly. This workflow can continue to improve, but it's in relatively good shape now.

Sep 2 2019, 3:02 PM · Phacility, Infrastructure
epriestley added a revision to T13395: Strip libphutil for parts: Unknown Object (Differential Revision).
Sep 2 2019, 2:20 PM · libphutil
epriestley added a revision to T13395: Strip libphutil for parts: Unknown Object (Differential Revision).
Sep 2 2019, 1:43 PM · libphutil
epriestley lowered the priority of T13396: Support downloads of 2GB+ files with HTTPSFuture from Normal to Wishlist.
Sep 2 2019, 1:11 PM · Infrastructure, libphutil
epriestley added a comment to T13397: "bin/host upload" and the Uploader wrapper should retry chunks on HTTP/504, and perhaps other status codes.

A generally cleaner version of this would also fix the parallelization TODO (just above the patch in the previous comment). This probably needs FutureIterator to be better at managing in-flight changes to the working set.

Sep 2 2019, 1:11 PM · Infrastructure, Arcanist
epriestley closed T13401: Phacility 2019 Week 35 Deployment Log as Resolved.

Everything here appears to have made it to production cleanly.

Sep 2 2019, 1:07 PM · Phacility
epriestley updated the task description for T13401: Phacility 2019 Week 35 Deployment Log.
Sep 2 2019, 1:05 PM · Phacility
epriestley updated the task description for T13367: Phortune "enterprise" update errata.
Sep 2 2019, 1:04 PM · Phortune, Phacility
epriestley added a revision to T13401: Phacility 2019 Week 35 Deployment Log: Unknown Object (Differential Revision).
Sep 2 2019, 1:04 PM · Phacility
epriestley added a revision to T13393: Improve repository shard migration pathway in the shared cluster: Unknown Object (Differential Revision).
Sep 2 2019, 12:57 PM · Phacility, Infrastructure

Sep 1 2019

epriestley added a comment to T13400: Evaluate performance impact of performing MySQL dump/restore in parallel.

Anecdata: locally, using 2 subprocesses went twice as fast (~85s -> ~42s). 4 subprocesses chopped another ~20% of the time off (~42s > ~35s). It stopped getting faster at 4. However, the largest table took 24s, so even if this was completely parallelizable we wouldn't expect it to drop lower than that.

Sep 1 2019, 11:19 PM · Infrastructure, Database
epriestley added a revision to T13393: Improve repository shard migration pathway in the shared cluster: Unknown Object (Differential Revision).
Sep 1 2019, 8:12 PM · Phacility, Infrastructure
epriestley added a revision to T13393: Improve repository shard migration pathway in the shared cluster: Unknown Object (Differential Revision).
Sep 1 2019, 8:08 PM · Phacility, Infrastructure
epriestley added a comment to T13393: Improve repository shard migration pathway in the shared cluster.

Anecdotally from the last time around, gzipping the tarball didn't really do much. Possibly, this might more broadly imply that we'd be better off not compressing repository backups.

Sep 1 2019, 7:26 PM · Phacility, Infrastructure
epriestley added a comment to T13393: Improve repository shard migration pathway in the shared cluster.

I believe I've moved "core/" from "instances.queryinstances" and sequenced all the followup changes properly, now, and that the only remaining piece is glue.

Sep 1 2019, 5:48 PM · Phacility, Infrastructure
epriestley added a revision to T13393: Improve repository shard migration pathway in the shared cluster: Unknown Object (Differential Revision).
Sep 1 2019, 5:31 PM · Phacility, Infrastructure
epriestley added a revision to T13393: Improve repository shard migration pathway in the shared cluster: Unknown Object (Differential Revision).
Sep 1 2019, 5:29 PM · Phacility, Infrastructure
epriestley added a revision to T13393: Improve repository shard migration pathway in the shared cluster: Unknown Object (Differential Revision).
Sep 1 2019, 5:19 PM · Phacility, Infrastructure
epriestley added a revision to T13393: Improve repository shard migration pathway in the shared cluster: Unknown Object (Differential Revision).
Sep 1 2019, 5:12 PM · Phacility, Infrastructure
epriestley added a revision to T13393: Improve repository shard migration pathway in the shared cluster: Unknown Object (Differential Revision).
Sep 1 2019, 5:09 PM · Phacility, Infrastructure
epriestley added a revision to T13393: Improve repository shard migration pathway in the shared cluster: Unknown Object (Differential Revision).
Sep 1 2019, 4:51 PM · Phacility, Infrastructure
epriestley added a comment to T13399: Remove "instances.queryinstances" Conduit API method.

SyncWorkflow also depends on creatorPHID to synchronize the initial administrator account.

Sep 1 2019, 4:48 PM · Phacility
epriestley added a revision to T13393: Improve repository shard migration pathway in the shared cluster: Unknown Object (Differential Revision).
Sep 1 2019, 4:44 PM · Phacility, Infrastructure
epriestley added a revision to T13393: Improve repository shard migration pathway in the shared cluster: Unknown Object (Differential Revision).
Sep 1 2019, 4:41 PM · Phacility, Infrastructure
epriestley added a revision to T13393: Improve repository shard migration pathway in the shared cluster: Unknown Object (Differential Revision).
Sep 1 2019, 12:35 AM · Phacility, Infrastructure
epriestley added a revision to T13393: Improve repository shard migration pathway in the shared cluster: Unknown Object (Differential Revision).
Sep 1 2019, 12:20 AM · Phacility, Infrastructure
epriestley added a revision to T13393: Improve repository shard migration pathway in the shared cluster: Unknown Object (Differential Revision).
Sep 1 2019, 12:19 AM · Phacility, Infrastructure

Aug 31 2019

epriestley added a comment to T13401: Phacility 2019 Week 35 Deployment Log.

The primary Week 34 / Week 35 deployment has completed without apparent issues. I'm going to deploy some followup changes for T13393 later, but it looks like we're out of the woods on the bulk of outbound changes.

Aug 31 2019, 5:15 PM · Phacility
epriestley updated the task description for T13401: Phacility 2019 Week 35 Deployment Log.
Aug 31 2019, 4:42 PM · Phacility
epriestley added a comment to T13401: Phacility 2019 Week 35 Deployment Log.

Clicking "Pay Now" from landing page fatals in "PhortuneCartCheckoutController.php:104"; "Call to undefined method PhortuneCartCheckoutController::buildCartContentTable()"
Pacts have a bad URI for billing accounts on the "Billing" tab.
Instances also have a bad URI for billing accounts on the "Billing " tab. Maybe the handle is using the wrong URI?
The sync worker is failing on new instance launch for lack of credentials.

Aug 31 2019, 4:38 PM · Phacility
epriestley added a comment to T13401: Phacility 2019 Week 35 Deployment Log.

The sync worker is failing on new instance launch for lack of credentials.

Aug 31 2019, 4:30 PM · Phacility
epriestley updated the task description for T13401: Phacility 2019 Week 35 Deployment Log.
Aug 31 2019, 4:26 PM · Phacility
epriestley triaged T13401: Phacility 2019 Week 35 Deployment Log as Normal priority.
Aug 31 2019, 4:10 PM · Phacility
epriestley triaged T13400: Evaluate performance impact of performing MySQL dump/restore in parallel as Wishlist priority.
Aug 31 2019, 4:04 PM · Infrastructure, Database
epriestley edited the content of Changelog.
Aug 31 2019, 2:57 PM
epriestley created an object: 2019 Week 35 (Very Late August).
Aug 31 2019, 2:56 PM
epriestley added a comment to T13393: Improve repository shard migration pathway in the shared cluster.

bin/host restart does not start no-daemon services.

Aug 31 2019, 2:35 PM · Phacility, Infrastructure
epriestley added a revision to T13393: Improve repository shard migration pathway in the shared cluster: Unknown Object (Differential Revision).
Aug 31 2019, 1:46 AM · Phacility, Infrastructure
epriestley added a revision to T13393: Improve repository shard migration pathway in the shared cluster: Unknown Object (Differential Revision).
Aug 31 2019, 1:40 AM · Phacility, Infrastructure
epriestley added a comment to T13393: Improve repository shard migration pathway in the shared cluster.

daemon behaviors

Aug 31 2019, 12:00 AM · Phacility, Infrastructure

Aug 30 2019

epriestley added a revision to T13393: Improve repository shard migration pathway in the shared cluster: Unknown Object (Differential Revision).
Aug 30 2019, 8:21 PM · Phacility, Infrastructure
epriestley added a comment to T13393: Improve repository shard migration pathway in the shared cluster.

Provisioning was once close-ish to automated. Is this close enough to automate?

Aug 30 2019, 5:34 PM · Phacility, Infrastructure
epriestley added a comment to T13393: Improve repository shard migration pathway in the shared cluster.

I think this leaves us with:

Aug 30 2019, 5:19 PM · Phacility, Infrastructure
epriestley added a comment to T13393: Improve repository shard migration pathway in the shared cluster.

Adjacent is the older instances.queryinstances API method. This is still used by service synchronization.

Aug 30 2019, 5:09 PM · Phacility, Infrastructure
epriestley triaged T13399: Remove "instances.queryinstances" Conduit API method as Wishlist priority.
Aug 30 2019, 5:08 PM · Phacility
epriestley added a revision to T13393: Improve repository shard migration pathway in the shared cluster: Unknown Object (Differential Revision).
Aug 30 2019, 4:15 PM · Phacility, Infrastructure
epriestley added a revision to T13393: Improve repository shard migration pathway in the shared cluster: Unknown Object (Differential Revision).
Aug 30 2019, 4:12 PM · Phacility, Infrastructure
epriestley added a comment to T13393: Improve repository shard migration pathway in the shared cluster.

It is also used to cache InstancesManageCapability::CAPABILITY but this can easily just be cached in the request cache instead.

Aug 30 2019, 3:50 PM · Phacility, Infrastructure
epriestley added a comment to T13396: Support downloads of 2GB+ files with HTTPSFuture.

The operation in PHI1329 (against a ~8GB export) went through cleanly. Remaining work here is:

Aug 30 2019, 3:42 PM · Infrastructure, libphutil
epriestley added a revision to T13396: Support downloads of 2GB+ files with HTTPSFuture: Unknown Object (Differential Revision).
Aug 30 2019, 2:12 AM · Infrastructure, libphutil
epriestley added a comment to T13393: Improve repository shard migration pathway in the shared cluster.

The "Instance" almanac service type can be destroyed.

Aug 30 2019, 1:51 AM · Phacility, Infrastructure
epriestley added a revision to T13393: Improve repository shard migration pathway in the shared cluster: Unknown Object (Differential Revision).
Aug 30 2019, 1:50 AM · Phacility, Infrastructure
epriestley added a revision to T13393: Improve repository shard migration pathway in the shared cluster: Unknown Object (Differential Revision).
Aug 30 2019, 12:29 AM · Phacility, Infrastructure

Aug 29 2019

epriestley added a comment to T13393: Improve repository shard migration pathway in the shared cluster.

Can we get rid of the instance-specific services completely now, after changes connected to T11413?

Aug 29 2019, 10:50 PM · Phacility, Infrastructure
epriestley triaged T13398: Merge "ExecFuture" and "PhutilExecPassthru" and support selective passthru of individual pipes as Low priority.
Aug 29 2019, 10:07 PM · Infrastructure, libphutil
epriestley added a comment to T13393: Improve repository shard migration pathway in the shared cluster.

Mostly-promising answers on much of the rest of this:

Aug 29 2019, 10:05 PM · Phacility, Infrastructure
epriestley added a revision to T13397: "bin/host upload" and the Uploader wrapper should retry chunks on HTTP/504, and perhaps other status codes: Unknown Object (Differential Revision).
Aug 29 2019, 9:14 PM · Infrastructure, Arcanist
epriestley added a comment to T13397: "bin/host upload" and the Uploader wrapper should retry chunks on HTTP/504, and perhaps other status codes.

For posterity, bleugh:

Aug 29 2019, 8:41 PM · Infrastructure, Arcanist
epriestley added a comment to T13397: "bin/host upload" and the Uploader wrapper should retry chunks on HTTP/504, and perhaps other status codes.

I have a patch for this, but I'm not thrilled about the retry model. Maybe better would be for the caller retry the actual upload operation (which will automatically resume) and bail out while retaining the temporary file. Even if we retry on 504, we lose a lot of progress if there's a service interruption for longer than we're willing to sit in a retry loop.

Aug 29 2019, 8:33 PM · Infrastructure, Arcanist
epriestley added a revision to T13393: Improve repository shard migration pathway in the shared cluster: Unknown Object (Differential Revision).
Aug 29 2019, 8:05 PM · Phacility, Infrastructure
epriestley triaged T13397: "bin/host upload" and the Uploader wrapper should retry chunks on HTTP/504, and perhaps other status codes as Low priority.
Aug 29 2019, 8:02 PM · Infrastructure, Arcanist
epriestley added a comment to T13393: Improve repository shard migration pathway in the shared cluster.

I'm hoping this is a reasonable excuse to find a way forward [on >2GB downloads] here.

Aug 29 2019, 7:16 PM · Phacility, Infrastructure
epriestley added a revision to T13396: Support downloads of 2GB+ files with HTTPSFuture: Unknown Object (Differential Revision).
Aug 29 2019, 7:03 PM · Infrastructure, libphutil
epriestley added a revision to T13396: Support downloads of 2GB+ files with HTTPSFuture: Unknown Object (Differential Revision).
Aug 29 2019, 7:00 PM · Infrastructure, libphutil
epriestley added a revision to T13396: Support downloads of 2GB+ files with HTTPSFuture: Unknown Object (Differential Revision).
Aug 29 2019, 5:38 PM · Infrastructure, libphutil
epriestley added a comment to T13396: Support downloads of 2GB+ files with HTTPSFuture.

This is something of an aside, but it would be nice to formalize PhutilConsoleProgressBar into a generic progress sink. A lot of bin/storage dump-related stuff could use this and bin/host download could obviously use it, and we likely have some use cases for reporting progress to the web via the API, but PhutilConsoleProgressBar lacks an indirection layer to really make this work cleanly.

Aug 29 2019, 5:19 PM · Infrastructure, libphutil
epriestley added a comment to T13396: Support downloads of 2GB+ files with HTTPSFuture.

My tentative plan is to add methods for sending the output to disk to HTTPSFuture, then go down the new parser pathway only if we're writing to disk. This should limit the amount of surface area exposed on the new parser.

Aug 29 2019, 4:33 PM · Infrastructure, libphutil
epriestley closed T12907: Unable to download large files through alternative file domain as Resolved.

This task covers a lot of ground and many of the issues have been resolved. There are two remaining issues which are more narrowly covered by these followups:

Aug 29 2019, 3:54 PM · Bug Report
epriestley added a comment to T13393: Improve repository shard migration pathway in the shared cluster.

Is the 2GB HTTP stuff in T12907 realistic to fix?

Aug 29 2019, 3:52 PM · Phacility, Infrastructure
epriestley claimed T13396: Support downloads of 2GB+ files with HTTPSFuture.
Aug 29 2019, 3:51 PM · Infrastructure, libphutil
epriestley created T13396: Support downloads of 2GB+ files with HTTPSFuture.
Aug 29 2019, 3:51 PM · Infrastructure, libphutil
epriestley triaged T13395: Strip libphutil for parts as Low priority.
Aug 29 2019, 3:41 PM · libphutil
epriestley updated the task description for T13394: Evaluate Okta OAuth.
Aug 29 2019, 3:27 PM · Auth
epriestley updated the task description for T13394: Evaluate Okta OAuth.
Aug 29 2019, 3:27 PM · Auth
epriestley triaged T13394: Evaluate Okta OAuth as Low priority.
Aug 29 2019, 3:26 PM · Auth
epriestley added a comment to T10127: Migrating repository between storage hosts in a cluster.

Not necessarily applicable in the general case, but see also T13393.

Aug 29 2019, 3:09 PM · Clusters, Feature Request
epriestley triaged T13393: Improve repository shard migration pathway in the shared cluster as Normal priority.
Aug 29 2019, 3:04 PM · Phacility, Infrastructure
epriestley triaged T13392: Current implementations of "X-Forwarded-For" may take the wrong element as Normal priority.
Aug 29 2019, 2:42 PM · Infrastructure
epriestley updated the task description for T13367: Phortune "enterprise" update errata.
Aug 29 2019, 3:19 AM · Phortune, Phacility

Aug 28 2019

epriestley closed T13391: Recent versions of cURL default to HTTP/2, but HTTP/2 is newfangled poppycock as Resolved by committing Restricted Diffusion Commit.
Aug 28 2019, 6:56 PM · Infrastructure, libphutil
epriestley added a revision to T13391: Recent versions of cURL default to HTTP/2, but HTTP/2 is newfangled poppycock: Unknown Object (Differential Revision).
Aug 28 2019, 6:55 PM · Infrastructure, libphutil
epriestley added a comment to T13391: Recent versions of cURL default to HTTP/2, but HTTP/2 is newfangled poppycock.

A possible issue is that letting cURL pick a protocol might lead to it selecting HTTP/1.0 in some cases (how/when could it possibly do this?

Aug 28 2019, 6:51 PM · Infrastructure, libphutil