Last modified: 2014-09-25 14:13:07 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T72463, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 70463 - X-Analytics header is "php=zend;php=zend" instead of "php=zend" on bits for some requests
X-Analytics header is "php=zend;php=zend" instead of "php=zend" on bits for s...
Status: REOPENED
Product: Analytics
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-09-05 21:12 UTC by christian
Modified: 2014-09-25 14:13 UTC (History)
7 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description christian 2014-09-05 21:12:43 UTC
For some requests of the bits caches from esams and ulso, X-Analytics
headers are

  php=zend;php=zend

instead of

  php=zend

.

Eqiad caches are not affected.

Text, mobile, upload caches are not affected.

The following table shows the counts of both values per host for 2014-09-05T10:xx:xx.

  +------------+---------------------+----------------------------+
  |      Count |               Count | hostname                   |
  | "php=zend" | "php=zend;php=zend" |                            |
  +------------+---------------------+----------------------------+
  |    2476134 |            12924023 | cp3019.esams.wikimedia.org |
  |    2447977 |            12946793 | cp3020.esams.wikimedia.org |
  |    2464526 |            12931021 | cp3021.esams.wikimedia.org |
  |    2460986 |            12939036 | cp3022.esams.wikimedia.org |
  |     915398 |             4171007 | cp4001.ulsfo.wmnet         |
  |     914249 |             4179542 | cp4002.ulsfo.wmnet         |
  |     914064 |             4179900 | cp4003.ulsfo.wmnet         |
  |     883786 |             4203428 | cp4004.ulsfo.wmnet         |
  +------------+---------------------+----------------------------+
Comment 1 Giuseppe Lavagetto 2014-09-06 04:45:45 UTC
Ouch, this happens because I did not tie my code to tier 1 (eqiad) caches in bits.

I'll add a check on monday, sorry for the problem.
Comment 2 Giuseppe Lavagetto 2014-09-08 09:57:46 UTC
It should be solved with the release of this patch; However, some content may still have duplicate headers in its cache.

https://gerrit.wikimedia.org/r/#/c/159026/
Comment 3 christian 2014-09-15 13:47:24 UTC
The 'php=zend;php=zend' is gone. But it seems that now requests to

  https://bits.wikimedia.org/geoiplookup
  https://bits.wikimedia.org/event.gif
  https://geoiplookup.wikimedia.org/

no longer come with any 'php' tag (on bits caches from esams and ulsfo).

(I guess one can make the point that this is ok, as those requests get
handled differently. I just wanted to check that the lack of 'php' tag
is expected here.)
Comment 4 Giuseppe Lavagetto 2014-09-25 13:52:44 UTC
Hi,

while in some cases this would be expected, this needs to be figured out better; also, I guess we're marking php=zend some requests that in reality originate from the hhvm servers - and that will need correcting.

I'm working on a better solution, I'll update this ticket soon.
Comment 5 Andrew Otto 2014-09-25 13:58:06 UTC
Are you all aware of this from Ori?

https://gerrit.wikimedia.org/r/#/c/157841/
Comment 6 christian 2014-09-25 14:13:07 UTC
(In reply to Andrew Otto from comment #5)
> Are you all aware of this from Ori?
> 
> https://gerrit.wikimedia.org/r/#/c/157841/

My comment there from 3 weeks ago is still unanswered, so I
am not sure that people are still interested in that change.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links