Uploaded image for project: 'controller'
  1. controller
  2. CONTROLLER-635

Fix YangStoreServiceImpl safety model

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • Helium
    • None
    • config
    • None
    • Operating System: All
      Platform: All

    • 1384

    Description

      Tracing SP edition startup shows that the fileinstall thread is blocked for 22 seconds (out of total 65 second bootup) trying to call YangStoreServiceImpl.refresh().

      Since all refresh() does is invalidate the cache, it should be possible to add just a volatile flag, which would signal the constructing thread (which needs to be synchronized), that it should throw away the result and retry.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            rovarga Robert Varga
            rovarga Robert Varga
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: