Skip to content

pqsi and pqsp are always 0 #6250

Closed

Description

@xeron

trafficserver version: 8.0.5
OS: Amazon Linux v1 (CentOS 6 based)

Related logging config options:

format: '%<chi> %<ttms> [%<cqtn>] "%<cqtx>" %<psql> %<crc>/%<pssc> (%<phr>/%<pqsi>:%<pqsp>/%<sssc>) %<{Referer}cqh> %<{User-Agent}cqh>

pqsi and pqsp are always 0.

Tried with both direct and parent configurations. Log examples:

127.0.0.1 323 [10/Dec/2019:08:24:44 -0800] "GET http://example.com/ HTTP/1.1" 11650 TCP_MISS/200 (PARENT_HIT/0:0/200) - curl/7.61.1

127.0.0.1 456 [10/Dec/2019:08:27:09 -0800] "GET http://example.com/image.png HTTP/1.1" 117223 TCP_REFRESH_HIT/200 (PARENT_HIT/0:0/304) - curl/7.61.1

127.0.0.1 169 [10/Dec/2019:09:59:44 -0800] "GET http://example2.com/image.png?test=7 HTTP/1.1" 504 TCP_MISS/301 (DIRECT/0:0/301) - curl/7.61.1

Activity

  1. github-actions commented on Jun 28, 2021

    @github-actions

    This issue has been automatically marked as stale because it has not had recent activity. Marking it stale to flag it for further consideration by the community.

  2. self-assigned this
    on Sep 27, 2021
  3. ywkaras commented on Sep 27, 2021

    @ywkaras

    Will test in 9.1.

  4. linked a pull request that will close this issueAdd Au test for pqsi and pqsp log fields. #8372on Oct 2, 2021
  5. ywkaras commented on Oct 2, 2021

    @ywkaras

    Wrote an Au test for these two fields, on the master branch. They seem to work as documented. They are both zero when the response comes from cache (no outgoing request). Will make sure test also passes in 9.2. I'm going to assume, till someone ask for it, this does not need to be fixed any bugfix release for 9.1 or earlier, if it's really a bug in any of them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions