X-Attack

Part of Facebook Source Code...

Apr 29th, 2011
623
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. array ( 0 => array ( 'file' => '/var/releases/thefacebook-r257680-06202010/www/flib/core/db/queryf.php', 'line' => 852, 'function' => 'handle_serious_mysql_failure', 'args' => array ( 0 => '/* /treasureisle/tracks.php?src=xpromo&aff=zbar&crt=treasureisle 10.32.220.126 24438 100000630536623 */ SELECT timestamp FROM insights_staging_success_time WHERE timestamp IN ()', ), ), 1 => array ( 'file' => '/var/releases/thefacebook-r257680-06202010/www/flib/core/db/queryfx.php', 'line' => 46, 'function' => 'queryf_common', 'args' => array ( 0 => NULL, 1 => managed_connection::__set_state(array( 'conn' => NULL, 'connect_fcn' => '_get_db_managed_cb', 'params' => array ( 'ip' => '10.21.209.92', 'db_name' => 'insights', 'user' => 'mark', 'pass' => 'e5p0nd4', 'mode' => 'r', 'port' => 3306, 'cleanup' => false, 'num_retries' => 3, 'log_after_num_retries' => 4, 'reason' => 'insights', 'cdb' => true, 'flags' => 0, 'is_shadow' => false, 'backoff_retry' => false, ), 'update_fcn' => NULL, 'shadow_fcn' => array ( 0 => 'ShadowDB', 1 => 'shadow_db_match', ), 'shadow_db_options' => ShadowDbOptions::__set_state(array( 'enabled' => false, 'db_name' => NULL, 'shadows' => array ( ), 'shadow_ports' => array ( ), )), 'ongoing_transaction' => false, 'trying_commit' => false, 'transaction_mc_keys' => array ( ), 'reconnectOnInterrupt' => true, 'lastErrno' => NULL, 'lastError' => NULL, 'name_' => '', )), 2 => '%Q', 3 => 'SELECT timestamp FROM insights_staging_success_time WHERE timestamp IN ()', ), ), 2 => array ( 'function' => 'queryfx_with_flags', 'args' => array ( 0 => NULL, 1 => managed_connection::__set_state(array( 'conn' => NULL, 'connect_fcn' => '_get_db_managed_cb', 'params' => array ( 'ip' => '10.21.209.92', 'db_name' => 'insights', 'user' => 'mark', 'pass' => 'e5p0nd4', 'mode' => 'r', 'port' => 3306, 'cleanup' => false, 'num_retries' => 3, 'log_after_num_retries' => 4, 'reason' => 'insights', 'cdb' => true, 'flags' => 0, 'is_shadow' => false, 'backoff_retry' => false, ), 'update_fcn' => NULL, 'shadow_fcn' => array ( 0 => 'ShadowDB', 1 => 'shadow_db_match', ), 'shadow_db_options' => ShadowDbOptions::__set_state(array( 'enabled' => false, 'db_name' => NULL, 'shadows' => array ( ), 'shadow_ports' => array ( ), )), 'ongoing_transaction' => false, 'trying_commit' => false, 'transaction_mc_keys' => array ( ), 'reconnectOnInterrupt' => true, 'lastErrno' => NULL, 'lastError' => NULL, 'name_' => '', )), 2 => 'SELECT timestamp FROM insights_staging_success_time WHERE timestamp IN ()', ), ), 3 => array ( 'file' => '/var/releases/thefacebook-r257680-06202010/www/flib/core/db/queryfx.php', 'line' => 25, 'function' => 'call_user_func_array', 'args' => array ( 0 => 'queryfx_with_flags', 1 => array ( 0 => NULL, 1 => managed_connection::__set_state(array( 'conn' => NULL, 'connect_fcn' => '_get_db_managed_cb', 'params' => array ( 'ip' => '10.21.209.92', 'db_name' => 'insights', 'user' => 'mark', 'pass' => 'e5p0nd4', 'mode' => 'r', 'port' => 3306, 'cleanup' => false, 'num_retries' => 3, 'log_after_num_retries' => 4, 'reason' => 'insights', 'cdb' => true, 'flags' => 0, 'is_shadow' => false, 'backoff_retry' => false, ), 'update_fcn' => NULL, 'shadow_fcn' => array ( 0 => 'ShadowDB', 1 => 'shadow_db_match', ), 'shadow_db_options' => ShadowDbOptions::__set_state(array( 'enabled' => false, 'db_name' => NULL, 'shadows' => array ( ), 'shadow_ports' => array ( ), )), 'ongoing_transaction' => false, 'trying_commit' => false, 'transaction_mc_keys' => array ( ), 'reconnectOnInterrupt' => true, 'lastErrno' => NULL, 'lastError' => NULL, 'name_' => '', )), 2 => 'SELECT timestamp FROM insights_staging_success_time WHERE timestamp IN ()', ), ), ), 4 => array ( 'file' => '/var/releases/thefacebook-r257680-06202010/www/flib/insights/data/data.php', 'line' => 257, 'function' => 'queryfx', 'args' => array ( 0 => managed_connection::__set_state(array( 'conn' => NULL, 'connect_fcn' => '_get_db_managed_cb', 'params' => array ( 'ip' => '10.21.209.92', 'db_name' => 'insights', 'user' => 'mark', 'pass' => 'e5p0nd4', 'mode' => 'r', 'port' => 3306, 'cleanup' => false, 'num_retries' => 3, 'log_after_num_retries' => 4, 'reason' => 'insights', 'cdb' => true, 'flags' => 0, 'is_shadow' => false, 'backoff_retry' => false, ), 'update_fcn' => NULL, 'shadow_fcn' => array ( 0 => 'ShadowDB', 1 => 'shadow_db_match', ), 'shadow_db_options' => ShadowDbOptions::__set_state(array( 'enabled' => false, 'db_name' => NULL, 'shadows' => array ( ), 'shadow_ports' => array ( ), )), 'ongoing_transaction' => false, 'trying_commit' => false, 'transaction_mc_keys' => array ( ), 'reconnectOnInterrupt' => true, 'lastErrno' => NULL, 'lastError' => NULL, 'name_' => '', )), 1 => 'SELECT timestamp FROM insights_staging_success_time WHERE timestamp IN ()', ), ), 5 => array ( 'file' => '/var/releases/thefacebook-r257680-06202010/www/flib/core/datatype/base.php', 'line' => 704, 'function' => 'fetch', 'class' => 'InsightsDataLoadedDataType', 'object' => InsightsDataLoadedDataType::__set_state(array( 'cachekeyMap' => array ( 1277362800 => 'insights.valid_date:1277362800:1277917200', 1277449200 => 'insights.valid_date:1277449200:1277917500', 1277535600 => 'insights.valid_date:1277535600:1277917800', 1277622000 => 'insights.valid_date:1277622000:1277918100', 1277708400 => 'insights.valid_date:1277708400:1277918400', 1277794800 => 'insights.valid_date:1277794800:1277918700', 1277881200 => 'insights.valid_date:1277881200:1277919000', 0 => 'insights.valid_date::1277910000', ), 'useAPC' => false, 'sources' => array ( 0 => 'memcache', 1 => 'custom', ), 'cachedData' => array ( 1277362800 => false, 1277449200 => false, 1277535600 => false, 1277622000 => false, 1277708400 => false, 1277794800 => false, 1277881200 => false, ), 'newKeys' => array ( ), 'pendingKeys' => array ( 0 => false, ), 'contextArgs' => array ( ), 'contextArgsDef' => array ( ), 'uniqueKey' => 'InsightsDataLoadedDataTypea:0:{}', 'sourcesByKeys' => array ( 'memcache' => 0, 'custom' => 1, ), )), 'type' => '->', 'args' => array ( 0 => array ( 0 => false, ), ), ), 6 => array ( 'file' => '/var/releases/thefacebook-r257680-06202010/www/flib/core/datatype/base.php', 'line' => 366, 'function' => 'customFetch', 'class' => 'CoreDataType', 'object' => InsightsDataLoadedDataType::__set_state(array( 'cachekeyMap' => array ( 1277362800 => 'insights.valid_date:1277362800:1277917200', 1277449200 => 'insights.valid_date:1277449200:1277917500', 1277535600 => 'insights.valid_date:1277535600:1277917800', 1277622000 => 'insights.valid_date:1277622000:1277918100', 1277708400 => 'insights.valid_date:1277708400:1277918400', 1277794800 => 'insights.valid_date:1277794800:1277918700', 1277881200 => 'insights.valid_date:1277881200:1277919000', 0 => 'insights.valid_date::1277910000', ), 'useAPC' => false, 'sources' => array ( 0 => 'memcache', 1 => 'custom', ), 'cachedData' => array ( 1277362800 => false, 1277449200 => false, 1277535600 => false, 1277622000 => false, 1277708400 => false, 1277794800 => false, 1277881200 => false, ), 'newKeys' => array ( ), 'pendingKeys' => array ( 0 => false, ), 'contextArgs' => array ( ), 'contextArgsDef' => array ( ), 'uniqueKey' => 'InsightsDataLoadedDataTypea:0:{}', 'sourcesByKeys' => array ( 'memcache' => 0, 'custom' => 1, ), )), 'type' => '->', 'args' => array ( ), ), 7 => array ( 'file' => '/var/releases/thefacebook-r257680-06202010/www/flib/core/datatype/base.php', 'line' => 619, 'function' => 'enqueue', 'class' => 'CoreDataType', 'object' => InsightsDataLoadedDataType::__set_state(array( 'cachekeyMap' => array ( 1277362800 => 'insights.valid_date:1277362800:1277917200', 1277449200 => 'insights.valid_date:1277449200:1277917500', 1277535600 => 'insights.valid_date:1277535600:1277917800', 1277622000 => 'insights.valid_date:1277622000:1277918100', 1277708400 => 'insights.valid_date:1277708400:1277918400', 1277794800 => 'insights.valid_date:1277794800:1277918700', 1277881200 => 'insights.valid_date:1277881200:1277919000', 0 => 'insights.valid_date::1277910000', ), 'useAPC' => false, 'sources' => array ( 0 => 'memcache', 1 => 'custom', ), 'cachedData' => array ( 1277362800 => false, 1277449200 => false, 1277535600 => false, 1277622000 => false, 1277708400 => false, 1277794800 => false, 1277881200 => false, ), 'newKeys' => array ( ), 'pendingKeys' => array ( 0 => false, ), 'contextArgs' => array ( ), 'contextArgsDef' => array ( ), 'uniqueKey' => 'InsightsDataLoadedDataTypea:0:{}', 'sourcesByKeys' => array ( 'memcache' => 0, 'custom' => 1, ), )), 'type' => '->', 'args' => array ( 0 => 'memcache', ), ), 8 => array ( 'file' => '/var/releases/thefacebook-r257680-06202010/www/flib/core/cache/manager.php', 'line' => 132, 'function' => 'cacheCallbackByID', 'class' => 'CoreDataType', 'object' => InsightsDataLoadedDataType::__set_state(array( 'cachekeyMap' => array ( 1277362800 => 'insights.valid_date:1277362800:1277917200', 1277449200 => 'insights.valid_date:1277449200:1277917500', 1277535600 => 'insights.valid_date:1277535600:1277917800', 1277622000 => 'insights.valid_date:1277622000:1277918100', 1277708400 => 'insights.valid_date:1277708400:1277918400', 1277794800 => 'insights.valid_date:1277794800:1277918700', 1277881200 => 'insights.valid_date:1277881200:1277919000', 0 => 'insights.valid_date::1277910000', ), 'useAPC' => false, 'sources' => array ( 0 => 'memcache', 1 => 'custom', ), 'cachedData' => array ( 1277362800 => false, 1277449200 => false, 1277535600 => false, 1277622000 => false, 1277708400 => false, 1277794800 => false, 1277881200 => false, ), 'newKeys' => array ( ), 'pendingKeys' => array ( 0 => false, ), 'contextArgs' => array ( ), 'contextArgsDef' => array ( ), 'uniqueKey' => 'InsightsDataLoadedDataTypea:0:{}', 'sourcesByKeys' => array ( 'memcache' => 0, 'custom' => 1, ), )), 'type' => '->', 'args' => array ( 0 => array ( ), ), ), 9 => array ( 'file' => '/var/releases/thefacebook-r257680-06202010/www/flib/core/cache/manager.php', 'line' => 67, 'function' => 'goLegacy', 'class' => 'CacheManager', 'object' => CacheManager::__set_state(array( 'pending' => array ( ), )), 'type' => '->', 'args' => array ( ), ), 10 => array ( 'file' => '/var/releases/thefacebook-r257680-06202010/www/flib/core/datatype/base.php', 'line' => 396, 'function' => 'go', 'class' => 'CacheManager', 'object' => CacheManager::__set_state(array( 'pending' => array ( ), )), 'type' => '->', 'args' => array ( ), ), 11 => array ( 'function' => 'dispatch', 'class' => 'CoreDataType', 'type' => '::', 'args' => array ( ), ), 12 => array ( 'file' => '/var/releases/thefacebook-r257680-06202010/www/flib/core/cache/scb.php', 'line' => 641, 'function' => 'call_user_func', 'args' => array ( 0 => array ( 0 => 'CoreDataType', 1 => 'dispatch', ), ), ), 13 => array ( 'file' => '/var/releases/thefacebook-r257680-06202010/www/flib/core/cache/Preparer.php', 'line' => 281, 'function' => 'memcache_dispatch', 'args' => array ( ), ), 14 => array ( 'file' => '/var/releases/thefacebook-r257680-06202010/www/flib/core/cache/Preparer.php', 'line' => 233, 'function' => '_go', 'class' => 'Preparer', 'object' => Preparer::__set_state(array( 'nextIndex' => 2, 'currentPreparables' => array ( 1 => InsightsQuery::__set_state(array( 'oids' => array ( 0 => 234860566661, ), 'dates' => array ( 0 => false, ), 'metric' => InsightsMetricList::__set_state(array( 'metrics' => array ( 540436 => InsightsMetricInteger::__set_state(array( 'type' => 'InsightsDataPointInteger', 'id' => 540436, 'description' => '', )), 563489 => InsightsMetricInteger::__set_state(array( 'type' => 'InsightsDataPointInteger', 'id' => 563489, 'description' => '', )), 563490 => InsightsMetricInteger::__set_state(array( 'type' => 'InsightsDataPointInteger', 'id' => 563490, 'description' => '', )), 563491 => InsightsMetricInteger::__set_state(array( 'type' => 'InsightsDataPointInteger', 'id' => 563491, 'description' => '', )), ), 'id' => 0, 'description' => '', )), 'datapoints' => array ( 0 => InsightsDataPointInteger::__set_state(array( 'oid' => 234860566661, 'date' => false, 'metric' => 540436, )), 1 => InsightsDataPointInteger::__set_state(array( 'oid' => 234860566661, 'date' => false, 'metric' => 563489, )), 2 => InsightsDataPointInteger::__set_state(array( 'oid' => 234860566661, 'date' => false, 'metric' => 563490, )), 3 => InsightsDataPointInteger::__set_state(array( 'oid' => 234860566661, 'date' => false, 'metric' => 563491, )), ), 'data' => NULL, '__index' => 1, '__next' => 1, '__state' => 2, '__preparer' => Preparer::__set_state(array( 'nextIndex' => 2, 'currentPreparables' => array ( 1 => InsightsQuery::__set_state(array( 'oids' => array ( 0 => 234860566661, ), 'dates' => array ( 0 => false, ), 'metric' => InsightsMetricList::__set_state(array( 'metrics' => array ( 540436 => InsightsMetricInteger::__set_state(array( 'type' => 'InsightsDataPointInteger', 'id' => 540436, 'description' => '', )), 563489 => InsightsMetricInteger::__set_state(array( 'type' => 'InsightsDataPointInteger', 'id' => 563489, 'description' => '', )), 563490 => InsightsMetricInteger::__set_state(array( 'type' => 'InsightsDataPointInteger', 'id' => 563490, 'description' => '', )), 563491 => InsightsMetricInteger::__set_state(array( 'type' => 'InsightsDataPointInteger', 'id' => 563491, 'description' => '', )), ), 'id' => 0, 'description' => '', )), 'datapoints' => array ( 0 => InsightsDataPointInteger::__set_state(array( 'oid' => 234860566661, 'date' => false, 'metric' => 540436, )), 1 => InsightsDataPointInteger::__set_state(array( 'oid' => 234860566661, 'date' => false, 'metric' => 563489, )), 2 => InsightsDataPointInteger::__set_state(array( 'oid' => 234860566661, 'date' => false, 'metric' => 563490, )), 3 => InsightsDataPointInteger::__set_state(array( 'oid' => 234860566661, 'date' => false, 'metric' => 563491, )), ), 'data' => NULL, '__index' => 1, '__next' => 1, '__state' => 2, '__preparer' => Preparer::__set_state(array( 'nextIndex' => 2, 'currentPreparables' => array ( 1 => InsightsQuery::__set_state(array( 'oids' => array ( 0 => 234860566661, ), 'dates' => array ( 0 => false, ), 'metric' => InsightsMetricList::__set_state(array( 'metrics' => array ( 540436 => InsightsMetricInteger::__set_state(array( 'type' => 'InsightsDataPointInteger', 'id' => 540436, 'description' => '', )), 563489 => InsightsMetricInteger::__set_state(array( 'type' => 'InsightsDataPointInteger', 'id' => 563489, 'description' => '', )), 563490 => InsightsMetricInteger::__set_state(array( 'type' => 'InsightsDataPointInteger', 'id' => 563490, 'description' => '', )), 563491 => InsightsMetricInteger::__set_state(array( 'type' => 'InsightsDataPointInteger', 'id' => 563491, 'description' => '', )), ), 'id' => 0, 'description' => '', )), 'datapoints' => array ( 0 => InsightsDataPointInteger::__set_state(array( 'oid' => 234860566661, 'date' => false, 'metric' => 540436, )), 1 => InsightsDataPointInteger::__set_state(array( 'oid' => 234860566661, 'date' => false, 'metric' => 563489, )), 2 => InsightsDataPointInteger::__set_state(array( 'oid' => 234860566661, 'date' => false, 'metric' => 563490, )), 3 => InsightsDataPointInteger::__set_state(array( 'oid' => 234860566661, 'date' => false, 'metric' => 563491, )), ), 'data' => NULL, '__index' => 1, '__next' => 1, '__state' => 2, '__preparer' => Preparer::__set_state(array(
RAW Paste Data