Uploaded image for project: 'Traffic Server'
  1. Traffic Server
  2. TS-3767

More unbounded retries within read-while-writer breaking loop detection.

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 6.0.0
    • Cache

    Description

      Leif Hedstrom noticed the loop detection (request to self) fails with default settings, when read-while-writer functionality is enabled. Upon further investigation, this seems to be caused by more cases of unbounded retries within read-while-writer (similar to TS-3622), which prevent reaching the loop detection point (currently, done after the cache lookup state).

      TS-3622 added a bound for read-while-writer in the case, where the writer lock is available, but, the first fragment is not downloaded yet, but, there are more cases which cause similar issues.

      Discussing with Leif Hedstrom, we think we should add bounds in all such cases with configurable timer (duration) and configurable max number of retries.

      Also, refer TS-3768 for a future improvement on this.

      Attachments

        Issue Links

          Activity

            People

              sudheerv Sudheer Vinukonda
              sudheerv Sudheer Vinukonda
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Slack

                  Issue deployment