Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-26584 Further improvements on StoreFileTracker
  3. HBASE-26587

Introduce a new Admin API to change SFT implementation

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.5.0, 3.0.0-alpha-3
    • Admin, API
    • None
    • Reviewed
    • Hide
      Introduced two admin methods:

      void modifyTableStoreFileTracker(TableName, String) throws IOException;
      void modifyColumnFamilyStoreFileTracker(TableName, byte[], String) throws IOException;

      You can use these two methods to change the store file tracker implementation for a table or a family, where you just need to specify the final store file tracker implementation, and do not need to take care of the 'migration' intermediate state, at master side we will take care of it for you.
      Show
      Introduced two admin methods: void modifyTableStoreFileTracker(TableName, String) throws IOException; void modifyColumnFamilyStoreFileTracker(TableName, byte[], String) throws IOException; You can use these two methods to change the store file tracker implementation for a table or a family, where you just need to specify the final store file tracker implementation, and do not need to take care of the 'migration' intermediate state, at master side we will take care of it for you.

    Description

      Now changing SFT implementation requires two MTP, and there are also lots of rules on how to correctly set the MIGRATION SFT, I think we'd better introduce a special method to implement the complicated logic by code,to make our users life easier.

      Attachments

        Activity

          People

            zhangduo Duo Zhang
            zhangduo Duo Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: