Skip to content

Commit

Permalink
[Bug] Show create table null pointer of storage policy and error httt…
Browse files Browse the repository at this point in the history
…p path of tablet info (apache#10950)

Co-authored-by: lihaopeng <[email protected]>
  • Loading branch information
HappenLee and lihaopeng authored Jul 22, 2022
1 parent 49a17be commit aa1bcdb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,8 @@ public static TableProperty read(DataInput in) throws IOException {
.buildStorageFormat()
.buildDataSortInfo()
.buildRemoteStoragePolicy()
.buildCompressionType();
.buildCompressionType()
.buildStoragePolicy();
if (Catalog.getCurrentCatalogJournalVersion() < FeMetaVersion.VERSION_105) {
// get replica num from property map and create replica allocation
String repNum = tableProperty.properties.remove(PropertyAnalyzer.PROPERTIES_REPLICATION_NUM);
Expand Down
4 changes: 2 additions & 2 deletions webroot/be/tablets_page.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ under the License.
{{#data}}
{{#tablets}}
<tr>
<td><a href="/api/meta/header/{{tablet_id}}/{{schema_hash}}" target="_blank">{{tablet_id}}</a></td>
<td><a href="/api/meta/header/{{tablet_id}}/{{schema_hash}}" target="_blank">{{schema_hash}}</a></td>
<td><a href="/api/meta/header/{{tablet_id}}" target="_blank">{{tablet_id}}</a></td>
<td><a href="/api/meta/header/{{tablet_id}}" target="_blank">{{schema_hash}}</a></td>
</tr>
{{/tablets}}
{{/data}}
Expand Down

0 comments on commit aa1bcdb

Please sign in to comment.