Ladsgroup added a comment.

  update.php on beta cluster took 17 seconds which basically locks the whole 
beta cluster during the time:
  
  - It purges object cache. Maybe we can reduce that.
  - it tries to remove default value of lots of fields in each run because the 
check for default value is against the result being false which it never is 
(it's empty string if the default value is null, empty string or even zero):
  
    ladsgroup@deployment-deploy01:~$ mwscript eval.php --wiki=enwiki
    > $db = wfGetDB( DB_PRIMARY );
    
    > var_dump( $db->fieldInfo( 'revision', 'rev_sha1')->defaultValue() );
    string(0) ""
    
    > var_dump( $db->fieldInfo( 'revision', 'rev_parent_id')->defaultValue() );
    string(0) ""
    
    > var_dump( $db->fieldInfo( 'revision', 'rev_deleted')->defaultValue() );
    string(0) ""
  
  I'm going to check other bits too

TASK DETAIL
  https://phabricator.wikimedia.org/T277862

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Ladsgroup
Cc: noarave, Pablo-WMDE, toan, Sahilgrewalhere, Lucas_Werkmeister_WMDE, 
zeljkofilipin, WMDE-leszek, Michael, Ladsgroup, Tarrow, hoo, Addshore, Suran38, 
Biggs657, Invadibot, Lalamarie69, maantietaja, Juan90264, Alter-paule, 
Hazizibinmahdi, Beast1978, Un1tY, Akuckartz, Hook696, Iflorez, Kent7301, 
alaa_wmde, joker88john, CucyNoiD, Nandana, Gaboe420, Giuliamocci, Cpaulf30, 
Lahi, Gq86, Af420, Bsandipan, GoranSMilovanovic, Mahir256, QZanden, 
LawExplorer, Lewizho99, Maathavan, _jensen, rosalieper, Bodhisattwa, 
Scott_WUaS, Wikidata-bugs, aude, Lydia_Pintscher, Mbch331
_______________________________________________
Wikidata-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to