Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-7610

Active blob deletion fails on composite setups

    XMLWordPrintableJSON

Details

    Description

      Because there are two CheckpointManager MBeans present on the composite nodestore setup, active blob deletion fails with the following message:

      Unable to get checkpoint mbean. Multiple services of required type found.
      

      The two Mbeans:

      Composite node store checkpoint management (CheckpointManager)
      Document node store checkpoint management (CheckpointManager)
      

      Following condition is not satisfied on this setup:

                  if (services.size() == 1) {
                      return services.get(0).getOldestCheckpointCreationTimestamp();
      

      https://github.com/apache/jackrabbit-oak/blob/5ef49f07ea244907dc1f4458ebee269f0437d934/oak-lucene/src/main/java/org/apache/jackrabbit/oak/plugins/index/lucene/ActiveDeletedBlobCollectorMBeanImpl.java#L327-L330

      Attachments

        Issue Links

          Activity

            People

              catholicon Vikas Saurabh
              chibulcu Paul Chibulcuteanu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: