Hm, in your original report the stack trace doesn't mention DrydockConstants.
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Advanced Search
Jun 18 2015
Ah, to recreate this you only need to add a build plan with a "Lease Host" step and you will get this fatal. The class referenced in the first message in the stack trace will be DrydockConstants and not PhabricatorWorkerArchiveTaskQuery though.
Jun 15 2015
(Just clarifying the title since I thought "write protection" might mean something like makeEphemeral().)
Yep, this is correct. Context is that there's no difference today between 'r' and 'w' connections. Distinguishing between them (primarily so we can send some reads to a replica) has always been a theoretical far-future goal, and I think we're mostly consistent about connection use in practice, so this piece hasn't been built yet. Building it would make eventual replica reads easier.
Jun 11 2015
Jun 10 2015
I have the same exception when I run ./bin/lipsum generate with the same error message.
Jun 9 2015
OK, after creating a user I made some progress... but now I hit this:
Ah actually, this seems to only be an issue when there are no issues in the database.
Jun 8 2015
I don't, but it maybe stops bad things from happening in cases where destruction takes a bad time? I was destroying a Diviner book and it took a long time so I ^Ced it and ran it again with --trace. I wasn't too worried in this case because Diviner books don't utilize a lot of infrastructure. But for other objects, this could be problematic maybe?
Why do you need to destroy enough objects for this to matter?
Jun 5 2015
Jun 4 2015
Hitting this again.
Jun 1 2015
I think it was that phlog($ex) gives us the stack trace of the phlog() call, but if we have to pick one stack trace, the stack trace of the exception is more useful.
Having a look at this and I can't actually remember what the issue is.
May 28 2015
May 27 2015
A clean-ish but very non-general fix would be to load PhabricatorStartup explicitly before using it in code which might be hit on a non-web pathway. It looks like PhabricatorAccessControlTestCase.php already does this.
May 21 2015
May 20 2015
May 18 2015
There is an excellent paper by H D Moore [1] on the subject of security in
terminal emulators regarding control characters. After reading it, I got
inspired and created a couple of proof of concept 'attacks'.
May 15 2015
May 12 2015
I don't know that the requests are slow, just that they are CPU intensive (or maybe there are a lot of them?)
In theory, the new "Multimeter" tool may be helpful in understanding this, although we probably need to at least let you put an explicit date window on queries.
May 7 2015
May 6 2015
May 4 2015
Yeah, real apps might be overkill for this.
That sounds reasonable, although a CLI script could suffice I think. ./bin/phid types for example.
Now that PhabricatorApplicationConfigurationPanel is modular, I'm inclined to do this:
May 3 2015
May 2 2015
Apr 30 2015
Apr 15 2015
I think I'm going to give up and use offset paging.
Apr 12 2015
Apr 11 2015
Apr 10 2015
Apr 6 2015
Mar 29 2015
Mar 23 2015
Mar 22 2015
Mar 21 2015
Mar 7 2015
Specifically, I would expect to see something like this:
Mar 2 2015
FWIW RHEL6 is on php 5.3.3.
Mar 1 2015
My general thoughts are:
I vote for it.
For Namespaces, that is a huge undertaking, you basically scrap the current autoloading, probably go with a PSR-4 autoloader, and add namespaces and "use" to a bunch of files at once.