Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-13143 Persistent store defragmentation
  3. IGNITE-13743

Defragmentation JMX API for schedule/cancel/status

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.10
    • None
    • Added JMX bean (named "Defragmentation") to control defragmentation process.
    • Docs Required, Release Notes Required

    Description

      API for JMX bean as follows:
      DefragmentationMXBean {
        *  /* {@code true} if possible to schedule given caches or false otherwise. */
         boolean schedule(String... cacheName);
       
         /** cancel the current defragmentation. */
         boolean cancel();
       
         /** Quantity of processed partitions. */
         int processedPartitions();
       
      *   /* Total partitions for defragmentation */
         int totalPartitions();
       
         /** Defragmentation start timestamp */
        long startTime();
       
         /** {@code true} if defragmentation is in progress right now. */
         boolean inProgress();
      }

      Attachments

        Issue Links

          Activity

            People

              sdanilov Semyon Danilov
              ibessonov Ivan Bessonov
              Sergey Chugunov Sergey Chugunov
              Votes:
              0 Vote for this issue
              Watchers:
              3 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