diff --git a/CHANGELOG.md b/CHANGELOG.md index 20871780230bf339e39c97b0dd9424ef79e6bfb7..09336a86215f9216c5ba32ba74d81e47bf095f27 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,28 @@ # Changelog +## 2.5.1 +This release fixes a performance issue on session creation affecting large +installations. + +Bug fixes: +* Session import works again. + +Additional changes: +* Libraries have been upgraded to fix potential bugs + +## 2.4.3 +This release fixes a performance issue on session creation affecting large +installations. + +Bug fixes: +* WebSocket communication now works correctly for course sessions. + (only affects installations using the LMS connector) +* The configuration parameter `security.facebook.allowed-roles` is now + respected. + +Additional changes: +* Libraries have been upgraded to fix potential bugs + ## 2.5 Major features: * Administration API: New endpoints have been added which are accessible by diff --git a/src/main/java/de/thm/arsnova/dao/CouchDBDao.java b/src/main/java/de/thm/arsnova/dao/CouchDBDao.java index bce4b3d4564367a1612c1f4be6bce78d426bf10e..d0f5656a66034d974401adb34d1268ef3cf26d83 100644 --- a/src/main/java/de/thm/arsnova/dao/CouchDBDao.java +++ b/src/main/java/de/thm/arsnova/dao/CouchDBDao.java @@ -522,9 +522,9 @@ public class CouchDBDao implements IDatabaseDao, ApplicationEventPublisherAware } @Override - @Transactional(isolation = Isolation.READ_COMMITTED) public boolean sessionKeyAvailable(final String keyword) { final View view = new View("session/by_keyword"); + view.setKey(keyword); final ViewResults results = getDatabase().view(view); return !results.containsKey(keyword);