XMLWordPrintableJSON

    Details

      Description

      The pin logic is for adding the reference counter based on number of subpartitions for ReleaseOnConsumptionResultPartition.

      It seems not necessary to do it in while loop as now, because the atomic counter would not be accessed by other threads during pin. If the ReleaseOnConsumptionResultPartition was not created yet, the createSubpartitionView would not be called actually resulting in PartitionNotFoundException

      So we could simple increase the reference counter in ReleaseOnConsumptionResultPartition constructor directly.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                zjwang Zhijiang
                Reporter:
                zjwang Zhijiang
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m