Here are some possible structural changes we can make to the table, using the Maniphest ngrams table on this install as an example dataset (this is roughly 50x smaller than the target dataset):
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Advanced Search
Oct 2 2017
There's still a big element of mystery here: why did MySQL sustain 80MB/sec of write I/O without daemons running? There "should" have been no queries against the fngrams table, and a large table "should" not require huge I/O volumes if it isn't being used. I don't think it's totally implausible that this was some kind of general thrash/swap/memory management issue in MySQL (the innodb_buffer_pool_size on these hosts if 4GB, and mysql was using all of it) but I would expect "paging-like" activities to cause a large read volume, not a large write volume.
Sep 30 2017
(I'll fix this if you don't get there first, but have used up all my brain energy for today. And thanks for the report!)
Would it be acceptable to change PhutilRemarkupHyperlinkRule to catch this exception and behave as if it were a non-whitelisted protocol? (Happy to draft the patch, just want to check before I do so)
Well, it half-works in email, so that's something!
You can do this
They need to be on their own line. I think this rule got added in 2011, shortly after I left FB.
Sep 29 2017
Sep 28 2017
Sep 27 2017
Drive-by mention in PHI91.
It should also work with Mercurial (D18652 and D18653 were my Mercurial tests).
- arc diff --cache (which was a passthrough for arc lint --cache) has been removed.
- arc diff --no-diff (an internal workflow) has been removed.
- The internal "async lint" flag has been removed. This was an ancient, Facebook-specific flag for extensions which is obsoleted by Harbormaster.
- arc lint --only-new has been removed. This relied on upstream lint support which was never fully developed.
- arc lint --cache has been removed.
- The arc.lint.cache config option has been removed.
- arc lint --only-changed has been removed. arc now detects whether you want warnings on all lines or only changed lines by examining the other arguments (paths, --everything, --lintall, and --rev).
I think I'm going to land this stuff on the experimental branch since there's also some other related work which is better targeted there, and things are probably going to get worse before they get better.
Sep 26 2017
Sep 25 2017
Can we avoid filling the output buffer in subprocesses by testing if writes to stdout would block? (This should also be a "yes".)
See T12996 for spiritual followup.
This is now in stable, and deployed here and to the Phacility production cluster.
Sep 24 2017
Sep 22 2017
Modern flow is:
Sep 21 2017
Sep 20 2017
Some followup SHOW INDEXES from the case in PHI47 provided output which didn't have any evidence of key cardinality issues, so it seems less likely that this is a cardinality problem.
Sep 19 2017
Sep 18 2017
An unusual case here is Herald rules which take the "Send me an email" action, and act "only the first time". Their current behavior will be to activate when the draft is created, have their mail killed later in the pipeline when the Editor declines to generate any, and then never fire again.
I deployed this to secure without issue, so it looks like LOCK TABLES ... is promising as a general tool for migrations.
We actually already have bin/remote stop, I just run it so rarely that I forgot about it.
Next chapter: T12989: Phacility Deployment: 2017 Week 38
Sep 16 2017
vault002 is dead. Long live lb001.
Sep 15 2017
This is now deployed on this server, we'll see how it holds up. It won't promote to stable until next week, and I'd discourage anyone from picking it up right away.
Swap DNS.
- I opened up 22 -> 2223 on lb001.
- I allowed external 22 in the security group.
- I hard-coded my hostfile and cloned successfully:
I'm going to take a stab at this now since I think it's non-disruptive and straightforward.