Pig
  1. Pig
  2. PIG-234

fix synchronization around staleCount in DataCollector

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.1.0
    • Component/s: impl
    • Labels:
      None
    • Patch Info:
      Patch Available

      Description


      DataCollector uses synchronized statements on staleCount, but the staleCount reference changes! I'm proposing it switch to use the concurrent package Lock and condition to manage staleness.

        Activity

          People

          • Assignee:
            Chad Whipkey
            Reporter:
            Chad Whipkey
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development