Uploaded image for project: 'Automation Analytics'
  1. Automation Analytics
  2. AA-1411

Tenant().each() and Tenant().each_with_replay()

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Normal Normal
    • None
    • None
    • data-pruning
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • Sprint ending Oct 27th, Sprint ending Nov 30, 2022

      create generic mixin for imlementing paginated "each()" and "each_with_replay()" methods. 

      "each()" is a generator which will deliver items from paginated query

      "each_with_replay()" is like "each()" and user can call "repeat_item(item)" to append it to the end of a queue. 

      Moreover, it provides context with recommended blocking of advisory_lock. If there is non-blocking advisory lock and all remaining items are repeated, it means that all items are locked (i.e. long running message recovery with SchwarzIT tenant blocks data pruning lock), thus blocking lock is offered.

              mslemr Martin Šlemr (Inactive)
              mslemr Martin Šlemr (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: