Build: #77 was successful Manual run by Guus der Kinderen

Code commits

Openfire (main)

  • Guus der Kinderen

    Guus der Kinderen 01a0167ab7c51c6d39305bd518cb19298051ff17 m

    OF-2497: align non-prefetched and prefetched room history loading
    With respect to the loading of MUC room history, Openfire should not behave differently when a room is 'pre-loaded' or not. Previously, the reload limit (days of history to load) defaulted to 2 days for non-preloaded rooms, while preloaded rooms did not have such a default.

    • xmppserver/src/main/java/org/jivesoftware/openfire/muc/spi/MUCPersistenceManager.java (version 01a0167ab7c51c6d39305bd518cb19298051ff17)
  • Guus der Kinderen

    Guus der Kinderen 59ce76cbca2497d3cd0c2c1acbb9d624f386a28e m

    OF-2499: No longer serialize MUC history with room
    As suggested in a 'TODO' comment in code, this replaces the MUC history that is stored inline with each MUC room, with a cache lookup.

    This change intends to result in a performance boost, as retrieving/storing MUC rooms from a cache (and serializing them between cluster nodes) no longer includes the history. The data associated with history is typically very large (~50kb for 25 messages), but changes a lot less often than the room itself.

    • xmppserver/src/main/java/org/jivesoftware/openfire/muc/HistoryStrategy.java (version 59ce76cbca2497d3cd0c2c1acbb9d624f386a28e)
    • xmppserver/src/main/java/org/jivesoftware/openfire/muc/MUCRoom.java (version 59ce76cbca2497d3cd0c2c1acbb9d624f386a28e)
    • xmppserver/src/main/java/org/jivesoftware/openfire/muc/MUCRoomHistory.java (version 59ce76cbca2497d3cd0c2c1acbb9d624f386a28e)
    • xmppserver/src/main/java/org/jivesoftware/openfire/muc/spi/MultiUserChatServiceImpl.java (version 59ce76cbca2497d3cd0c2c1acbb9d624f386a28e)
    • xmppserver/src/main/java/org/jivesoftware/util/cache/CacheFactory.java (version 59ce76cbca2497d3cd0c2c1acbb9d624f386a28e)
    • xmppserver/src/test/java/org/jivesoftware/openfire/muc/HistoryStrategyTest.java (version 59ce76cbca2497d3cd0c2c1acbb9d624f386a28e)
    • xmppserver/src/test/java/org/jivesoftware/openfire/muc/MUCRoomTest.java (version 59ce76cbca2497d3cd0c2c1acbb9d624f386a28e)