Uploaded image for project: 'Isis'
  1. Isis
  2. ISIS-1507

QueryResultsCache should be disabled while fixture scripts are running.

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.13.0
    • Fix Version/s: 1.13.1
    • Component/s: Core
    • Labels:
      None

      Description

      ... because otherwise it's possible to get cache misses solely because reference data hasn't yet been installed.

      To implement this, introduce a couple of new "system events" advertising that fixtures are being installed / have been installed, and have the QueryResultsCache listen in on those.

        Activity

        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit b09f9685dae4e44a2055d730e5a5bc676c7b8304 in isis's branch refs/heads/master from Dan Haywood
        [ https://git-wip-us.apache.org/repos/asf?p=isis.git;h=b09f968 ]

        ISIS-1507: makes Control injected service settable from unit tests.

        Show
        jira-bot ASF subversion and git services added a comment - Commit b09f9685dae4e44a2055d730e5a5bc676c7b8304 in isis's branch refs/heads/master from Dan Haywood [ https://git-wip-us.apache.org/repos/asf?p=isis.git;h=b09f968 ] ISIS-1507 : makes Control injected service settable from unit tests.
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit b09f9685dae4e44a2055d730e5a5bc676c7b8304 in isis's branch refs/heads/maint-1.13.1 from Dan Haywood
        [ https://git-wip-us.apache.org/repos/asf?p=isis.git;h=b09f968 ]

        ISIS-1507: makes Control injected service settable from unit tests.

        Show
        jira-bot ASF subversion and git services added a comment - Commit b09f9685dae4e44a2055d730e5a5bc676c7b8304 in isis's branch refs/heads/maint-1.13.1 from Dan Haywood [ https://git-wip-us.apache.org/repos/asf?p=isis.git;h=b09f968 ] ISIS-1507 : makes Control injected service settable from unit tests.
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit f6976b14f241a104fcb90b6b0fb74fd3da7b9fca in isis's branch refs/heads/maint-1.13.1 from Dan Haywood
        [ https://git-wip-us.apache.org/repos/asf?p=isis.git;h=f6976b1 ]

        ISIS-1507: switches off the QueryResultsCache while fixtures are being installed.

        Show
        jira-bot ASF subversion and git services added a comment - Commit f6976b14f241a104fcb90b6b0fb74fd3da7b9fca in isis's branch refs/heads/maint-1.13.1 from Dan Haywood [ https://git-wip-us.apache.org/repos/asf?p=isis.git;h=f6976b1 ] ISIS-1507 : switches off the QueryResultsCache while fixtures are being installed.
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit ec0d33fd92370a4b4e944a1057d7f99ccb223056 in isis's branch refs/heads/master from Dan Haywood
        [ https://git-wip-us.apache.org/repos/asf?p=isis.git;h=ec0d33f ]

        ISIS-1507: makes Control injected service settable from unit tests.

        Show
        jira-bot ASF subversion and git services added a comment - Commit ec0d33fd92370a4b4e944a1057d7f99ccb223056 in isis's branch refs/heads/master from Dan Haywood [ https://git-wip-us.apache.org/repos/asf?p=isis.git;h=ec0d33f ] ISIS-1507 : makes Control injected service settable from unit tests.
        Hide
        oscarbou Oscar Bou added a comment -

        For fixtures installing a high number of entities it should be useful to have it activated.

        Could it be optional, instead of mandatory (i.e., some "switch" method on the Service)?

        Show
        oscarbou Oscar Bou added a comment - For fixtures installing a high number of entities it should be useful to have it activated. Could it be optional, instead of mandatory (i.e., some "switch" method on the Service)?
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit eea96e273bbc7f4acd28e652e23c22e584bd978c in isis's branch refs/heads/master from Dan Haywood
        [ https://git-wip-us.apache.org/repos/asf?p=isis.git;h=eea96e2 ]

        ISIS-1507: switches off the QueryResultsCache while fixtures are being installed.

        Show
        jira-bot ASF subversion and git services added a comment - Commit eea96e273bbc7f4acd28e652e23c22e584bd978c in isis's branch refs/heads/master from Dan Haywood [ https://git-wip-us.apache.org/repos/asf?p=isis.git;h=eea96e2 ] ISIS-1507 : switches off the QueryResultsCache while fixtures are being installed.

          People

          • Assignee:
            danhaywood Dan Haywood
            Reporter:
            danhaywood Dan Haywood
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development