You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Duo Zhang (Jira)" <ji...@apache.org> on 2021/09/01 10:37:00 UTC

[jira] [Created] (HBASE-26246) Persist the store engine configuration to TableDescriptor when creating table

Duo Zhang created HBASE-26246:
---------------------------------

             Summary: Persist the store engine configuration to TableDescriptor when creating table
                 Key: HBASE-26246
                 URL: https://issues.apache.org/jira/browse/HBASE-26246
             Project: HBase
          Issue Type: Sub-task
          Components: HFile
            Reporter: Duo Zhang


As discussed in this section in the design doc:

https://docs.google.com/document/d/16Nr1Fn3VaXuz1g1FTiME-bnGR3qVK5B-raXshOkDLcY/edit#heading=h.78r2mdeyquug

If we use different SFT implementation at master side and region server side, it is likely to cause data loss, which is a very serious misconfiguration problem.

A possible solution is to make sure that master and region server always load the configurations about StoreEngine from the same place. To archive this, a possible way is to always set the StoreEngine configurations to the TableDescriptor, even if user does not explicitly set it when creating a table.

And also, when upgrading, we should check whether the existing tables have StoreEngine configurations, if not, we need to set them.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)