Uploaded image for project: 'Cayenne'
  1. Cayenne
  2. CAY-1019

Streamlining LOCAL_CACHE handling

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0
    • 3.0M4, 3.0
    • Core Library
    • None

    Description

      Per CAY-1013 I created a fix for a LOCAL_CACHE refreshing issue. Now trying to look at the bigger picture and address a related problem:

      LOCAL_CACHE and multiple levels of nesting.

      When we have a DataContext connected to the DataDomain, LOCAL_CACHE is what's cached at the DC level, shared - at the DD. If we have an ROP situation (CayenneContext -> DataContext -> DataDomain) or a nested DC situation (DataContext -> [DataContext]+ -> DataDomain), LOCAL_CACHE setting causes caching to occur all the way down to the last DC in a chain... This behavior is clearly wrong. Only the starting DC should cache query results.

      Attachments

        Activity

          People

            andrus Andrus Adamchik
            andrus Andrus Adamchik
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: