Uploaded image for project: 'controller'
  1. controller
  2. CONTROLLER-1103

Clustering : ReadData messages for ReadOnly Transactions sometimes end up in dead letters causing timeouts

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • None
    • None
    • mdsal
    • None
    • Operating System: All
      Platform: All

    • 2588
    • Normal

    Description

      From debugging it seems like this is happening because the ShardTransaction actor is killed before the ReadData message makes it to the actor. This appears to be related to our usage of PhantomReferences to track ReadOnly transactions. The reference sometimes seem to get collected right after the transaction is created and before the read data message could be send to the transaction resulting in the actor being killed and the read data being lost.

      We do need to shut down read-only transaction actors ASAP as they could hold on to a lot of memory but we may need to review our usage of phantom reference and see if we can come up with a better alternative.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            tpantelis Tom Pantelis
            moraja@cisco.com Moiz Raja
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: