Uploaded image for project: 'James Server'
  1. James Server
  2. JAMES-2600

Implement an ObjectStorage healthcheck

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Blob
    • Labels:

      Description

      Following work done in JAMES-2563 we want to introduce a health-check for object-storage.

      Add a `long countBlob()` public method to the ObjectStorageBlobsDAO class.

      In your ObjectStoragetHealthCheck call this method:

      • If a count is returned then swift is healthy
      • If an exception is encountered then swift is unhealthy.

      Write tests on top of a `pausable` swift container in `server/blob/blob-objectstorage`.

      Bind this health check in `server/container/guice/blob-objectstorage-guice/src/main/java/org/apache/james/modules/objectstorage/ObjectStorageBlobStoreModule.java`

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              btellier Benoit Tellier
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: