Uploaded image for project: 'Bookkeeper'
  1. Bookkeeper
  2. BOOKKEEPER-441

InMemorySubscriptionManager should back up top2sub2seq before change it

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 4.2.0
    • 4.2.0
    • hedwig-server
    • unix

    Description

      On topic loss, InMemorySubscriptionManager currently does not clear top2sub2seq. The intent is to allow readSubscription to get the information there. This introduce dependency outside the class, evidence is that general ReleaseOp has to use a boolean parameter which targets this implementation detail. Further, this prevents Acquire-topic to notify listeners (notifyFirstLocalSubscribe is not called) of first subscription to act appropriately.

      Attachments

        1. BackupTop2Sub2Seq.patch
          5 kB
          Yixue Zhu

        Activity

          People

            yx3zhu@gmail.com Yixue Zhu
            yx3zhu@gmail.com Yixue Zhu
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: