Nice, I've just upgraded again and confirm that it's working. Thanks!
Was unfortunate to upgrade just few hours before this commit:)
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
All Stories
Apr 2 2015
For better or for worse, we're on Exchange. It mostly works.
Yeah, but why send users to a page that's just going to tell them stuff is disabled?
I would prefer the "fight the good fight / make it easier to do the right thing" approach.
Come across this issue and thought the functionality was broken. Should be able to mark done without any comment required.
I can't reproduce this at HEAD and rP983c6f specifically fixed this, so I'm 99% sure you're just behind that change and updating again will resolve things. That commit was made about 18 hours ago.
You'll always be a winner in your heart.
I won... but I really lost.
Nice, we actually hit a race!
Do you have rP983c6f9d4bcb4414b07327620a09a593f09b625a?
Yeah, but why send users to a page that's just going to tell them stuff is disabled?
Minor followup in T7735.
Although tokenizer/typeahead stuff is churning a bit in connection with T4100 right now so this should probably wait for that to settle down.
I think we wrote this before typeaheads were modularized (T4420) so it wasn't easy to add a composite datasource at the time.
The page shows a prominent warning that the stuff won't work, right?
No errors with that patch either...
Thanks for the report and patch!
Closing, let us know if you still have an issue at HEAD.
- D12256 is the "give up" approach.
- D12258 is the "partially back out of it" approach.
I think a lot of the pain caused by D11995 (in SVN world at least) is just caused by bad wording. Consider:
Sure, we'd be happy to accept a patch for this.
The project/global version of this ("Send an email to...") probably should not override user preferences. The user version ("Send me an email") is always user-controlled.
Im kind of wary of Herald ignoring user preferences.
I guess you could try this? Maybe?
- Shorten patch: Works
- Spooky Patch: Works
- Roll back to no patch: Confirmed still broken.
The order which we update repositories is deterministic enough that I'd expect things to usually end up locking in the same order, and they'll keep retrying regularly (every 15 seconds) after a failure, so it's not particularly surprising to me that the failures wouldn't be randomly distributed if the issue is a 64-character lock uniqueness limit, although I would expect us to see way more failures all the time since 64 characters ends before the callsign part and we haven't changed the lock name. Maybe the behavior is specific to your MySQL sub-version.
Does this patch also fix it?
Context on this:
With that patch the daemon log is clean and the repositories show recent updates.
Can you see if this fixes it (bringing lock name length under 64 characters):
mysql> SELECT GET_LOCK('global:phabricator:PhabricatorRepositoryManagementUpdateWorkflow:HYDRA', 0);
+---------------------------------------------------------------------------------------+
| GET_LOCK('global:phabricator:PhabricatorRepositoryManagementUpdateWorkflow:HYDRA', 0) |
+---------------------------------------------------------------------------------------+
| 1 |
+---------------------------------------------------------------------------------------+It's also possible that this:
MySQL 5.7.5 and later enforces a maximum length on lock names of 64 characters. Previously, no limit was enforced.
Okay, that is the lock failing to acquire. Does this work?
I'm not sure I find the new log message that much more different or illuminating.
Updated log message with D12253 applied and daemons restarted
Apr 1 2015
Hrrm. Maybe wait for D12253 and see if that provides any clarity. It's possible it will give us a much better and more specific message, rather than just degrading into T6958.
mysql> SELECT IS_USED_LOCK('global:phabricator:PhabricatorRepositoryManagementUpdateWorkflow:TEMPORALANOMALY');
+--------------------------------------------------------------------------------------------------+
| IS_USED_LOCK('global:phabricator:PhabricatorRepositoryManagementUpdateWorkflow:TEMPORALANOMALY') |
+--------------------------------------------------------------------------------------------------+
| NULL |
+--------------------------------------------------------------------------------------------------+
1 row in set (0.00 sec)Specifically, if that returns an integer, it's a connection ID.
Does this show anything?
The root cause is very likely to be a stray copy of the daemon running somewhere.
Very true, you are the boss man :D
More just that we'd like to reduce the number of config values we have, and we could possibly get this "for free" if T4103 has "global defaults for all available settings/preferences".
D12253 "fixes" this in the sense that it likely reduces it to T6958.
Never mind, I think that's someting else.
Oh, this might not be quite related.
Makes sense, but changing language based on role seems kind of weird, I guess it can be desired in some cases, but either way, you need a way to set the "master"/default value that those roles would inherit
It's vaguely possible that we won't need a separate setting for this after T4103, which is part of the reason I didn't implement it.