Skip to content
Snippets Groups Projects
  1. Jan 15, 2020
    • Brendan Abolivier's avatar
      Fix instantiation of message retention purge jobs · 855af069
      Brendan Abolivier authored
      When figuring out which topological token to start a purge job at, we
      need to do the following:
      
      1. Figure out a timestamp before which events will be purged
      2. Select the first stream ordering after that timestamp
      3. Select info about the first event after that stream ordering
      4. Build a topological token from that info
      
      In some situations (e.g. quiet rooms with a short max_lifetime), there
      might not be an event after the stream ordering at step 3, therefore we
      abort the purge with the error `No event found`. To mitigate that, this
      patch fetches the first event _before_ the stream ordering, instead of
      after.
      855af069
  2. Jan 14, 2020
  3. Jan 13, 2020
  4. Jan 12, 2020
  5. Jan 10, 2020
  6. Jan 09, 2020
  7. Jan 08, 2020
Loading