Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
LDEV-4411 Do not fetch groups eagerly

LDEV-5253 Sysadmin Login As feature to be configurable

  1. … 3 more files in changeset.
LDEV-4411 Allow Hibernate to choose fetch type by itself

LDEV-4411 Make relation from Lesson to LessonClass unidirectional

Hibernate can not lazy load properties connected with OneToOne

relationship.

  1. … 1 more file in changeset.
LDEV-4411 Make relation from Evaluation to ToolActivity unidirectional

Hibernate can not lazy load properties connected with OneToOne

relationship. It means that with every fetch of ToolActivity its

ActivityEvaluation was also fetched, whether is was needed or not. It

made up even 10% of all queries sent to DB during a lesson.

By having the relationship unidirectional and fetching

ActivityEvaluation via DAO we ensure that it is fetched only when it is

needed. The code is not as nice, though.

  1. … 6 more files in changeset.
LDEV-4411 Do not cache native SQL queries as it causes exceptions

LDEV-3656 Clean up invalidated session from internal tracking mapping

These session should have been removed from the mapping when

SessionListener is called. Sometimes the listener is not called due to

WildFly internal bugs. We are left with a long list of stale sessions.

We should periodically clean up the mapping. Making it happen on runtime

stats fetch is as place as any other, plus it happens periodically.

  1. … 1 more file in changeset.
LDEV-4411 Remove FetchMode as it seems to trigger excessive queries

LDEV-4411 Make cacheable queries for checking user roles

LDEV-4411 Make Tool -> ExtServerToolAdapterMap collection lazy

    • -2
    • +1
    ./java/org/lamsfoundation/lams/tool/Tool.java
LDEV-5250 Remove Pedagogical Planner integration with core LAMS

    • -15
    • +2
    ./java/org/lamsfoundation/lams/tool/Tool.java
  1. … 57 more files in changeset.
LDEV-4411 Stop using collection cache for now

Cache annotations were commented out so we can come back to them easily

in the future.

Collection cache is not detecting changes made to entities. When a new

entity is added, collection cache does not see the change.

Properly tweaking concurrency strategy does not seem possible at the

moment, so we just turn it off.

    • -1
    • +1
    ./java/org/lamsfoundation/lams/tool/Tool.java
  1. … 21 more files in changeset.
LDEV-5174 Allow MCQ as iRAT in TBL monitoring Teams tab

  1. … 4 more files in changeset.
LDEV-5248 Get query cache stats directly from Session Factory

  1. … 1 more file in changeset.
LDEV-4411 Use WF provided entity cache configuration

  1. … 4 more files in changeset.
LDEV-4411 Add configuration for collection cache on multinode env

LDEV-4411 Native SQL queries are not cacheable by default

There seems to be a bug in Hibernate

https://hibernate.atlassian.net/browse/HHH-9111

There is a way to make native queries cacheable, but since there are so

few of them in LAMS, it is not worth the effort.

LDEV-4411 Fix cacheable API method

LDEV-4288 Prevent duplicate entries in Gradebook activity table

Unique key allows us to track situations in which duplicate entries get

created in the table.

There is no point in copying Gradebook entries on tool content copy - we

never copy live lessons, only template Learning Designs which should not

have any gradebook entries set.

LDEV-5248, LDEV-4411 Mark some collections as cacheable

Similar to query cache, the collection cache makes sense if the table

which collection elements map to do not change often. Each modification

to table content invalidates the given collection cache.

    • -0
    • +3
    ./java/org/lamsfoundation/lams/tool/Tool.java
  1. … 24 more files in changeset.
LDEV-5248, LDEV-4411 Mark some queries as cacheable

Query cache makes sense if tables which the query reference does not

change often. Each modification to table content invalidates the given

query's cache. Also each set of query parameters is a different cache

entry, so if there are various parameter values the cache overhead can

generate more load than benefit.

  1. … 82 more files in changeset.
LDEV-4411 Set up default and immutable 2nd level cache configuration

  1. … 1 more file in changeset.
LDEV-5248 Fix exception when exporting LD

LDEV-5248 Move QB create question logic to service

Keeping it in Controller caused lazy initialisation exception and is bad

practice anyway.

  1. … 1 more file in changeset.
LDEV-5248, LDEV-4411 Add 2nd level cache to selected elements

Displaying Assessment results is too DB-intense for multiple learners.

We can enable a short-lived query cache for some entities which have

most impact on the results page. This way multiple requests can reuse

same objects from cache and there is little danger of inconsistency.

  1. … 10 more files in changeset.
LDEV-5248 Switch collections to lazy loading

No need to fetch all data straight away.

  1. … 3 more files in changeset.
LDEV-5244 Fix exception when signup page is missing or disabled

LDEV-5227 Fix an exception if exported column is too wide

LDEV-5223 Reorder cookie attributes so they get accepted by Safari

LDEV-5072 Make membership service use custom user ID parameter