Traffic Server
  1. Traffic Server
  2. TS-621

writing 0 bytes to the HTTP cache means only update the header... need a new API: update_header_only() to allow 0 byte files to be cached

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.5
    • Fix Version/s: 3.3.2
    • Component/s: Cache
    • Labels:
      None
    1. force_empty.diff
      5 kB
      weijin
    2. TS-621_cluster_zero_size_objects.patch
      2 kB
      Zhao Yongming
    3. ts-621-jp-1.patch
      14 kB
      John Plevyak
    4. ts-621-jp-2.patch
      16 kB
      John Plevyak
    5. ts-621-jp-3.patch
      17 kB
      John Plevyak

      Issue Links

        Activity

        Leif Hedstrom made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Leif Hedstrom made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Leif Hedstrom made changes -
        Assignee Leif Hedstrom [ zwoop ]
        Leif Hedstrom made changes -
        Fix Version/s 3.3.2 [ 12321745 ]
        Fix Version/s 3.3.3 [ 12322479 ]
        Leif Hedstrom made changes -
        Fix Version/s 3.3.3 [ 12322479 ]
        Fix Version/s 3.3.2 [ 12321745 ]
        Leif Hedstrom made changes -
        Fix Version/s 3.3.2 [ 12321745 ]
        Fix Version/s 3.3.1 [ 12321686 ]
        Leif Hedstrom made changes -
        Fix Version/s 3.3.1 [ 12321686 ]
        Fix Version/s 3.3.0 [ 12316495 ]
        Leif Hedstrom made changes -
        Assignee weijin [ taorui ]
        Fix Version/s 3.3.0 [ 12316495 ]
        Fix Version/s 3.1.4 [ 12318543 ]
        Leif Hedstrom made changes -
        Assignee John Plevyak [ jplevyak ] weijin [ taorui ]
        Leif Hedstrom made changes -
        Fix Version/s 3.1.4 [ 12318543 ]
        Fix Version/s 3.1.5 [ 12320056 ]
        Leif Hedstrom made changes -
        Fix Version/s 3.1.5 [ 12320056 ]
        Fix Version/s 3.1.4 [ 12318543 ]
        weijin made changes -
        Attachment force_empty.diff [ 12516151 ]
        Leif Hedstrom made changes -
        Fix Version/s 3.1.4 [ 12318543 ]
        Fix Version/s 3.1.3 [ 12317969 ]
        Leif Hedstrom made changes -
        Fix Version/s 3.1.3 [ 12317969 ]
        Fix Version/s 3.1.2 [ 12317605 ]
        Leif Hedstrom made changes -
        Fix Version/s 3.1.2 [ 12317605 ]
        Fix Version/s 3.1.1 [ 12316496 ]
        Leif Hedstrom made changes -
        Backport to Version 3.0.1 [ 12316365 ]
        Leif Hedstrom made changes -
        Fix Version/s 3.1.1 [ 12316496 ]
        Fix Version/s 3.1.0 [ 12315515 ]
        John Plevyak made changes -
        Fix Version/s 3.1 [ 12315515 ]
        Fix Version/s 2.1.9 [ 12316350 ]
        Backport to Version 3.0.1 [ 12316365 ]
        Zhao Yongming made changes -
        Attachment TS-621_cluster_zero_size_objects.patch [ 12479751 ]
        Leif Hedstrom made changes -
        Comment [ Took a quick look at this, nothing obvious comes to mind, yet. I did notice the event (VC_EVENT_WRITE_COMPLETE) originates from UnixNetVConnection.cc:476:

        {code}
            if (s->vio.ntodo() <= 0) {
              write_signal_done(VC_EVENT_WRITE_COMPLETE, nh, vc);
              return;
            } else if (!signalled) {
        {code} ]
        John Plevyak made changes -
        Attachment ts-621-jp-3.patch [ 12479479 ]
        John Plevyak made changes -
        Attachment ts-621-jp-2.patch [ 12479475 ]
        John Plevyak made changes -
        Attachment ts-621-jp-1.patch [ 12479358 ]
        John Plevyak made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Leif Hedstrom made changes -
        Fix Version/s 2.1.9 [ 12316350 ]
        Fix Version/s 2.1.8 [ 12316253 ]
        John Plevyak made changes -
        Fix Version/s 2.1.8 [ 12316253 ]
        Fix Version/s 2.1.7 [ 12316014 ]
        Leif Hedstrom made changes -
        Fix Version/s 2.1.7 [ 12316014 ]
        Fix Version/s 2.1.6 [ 12315574 ]
        Leif Hedstrom made changes -
        Field Original Value New Value
        Link This issue is duplicated by TS-619 [ TS-619 ]
        John Plevyak created issue -

          People

          • Assignee:
            Leif Hedstrom
            Reporter:
            John Plevyak
          • Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development