Uploaded image for project: 'Pig'
  1. Pig
  2. PIG-234

fix synchronization around staleCount in DataCollector

    Details

    • Type: Bug
    • Status: Closed
    • Priority: 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.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: