未验证 提交 c1c54747 编写于 作者: A alexey-milovidov 提交者: GitHub

Merge pull request #14051 from javisantana/fix/info_in_read_only_table

adds some info to the exception about zookeeper path
......@@ -3495,7 +3495,7 @@ std::optional<UInt64> StorageReplicatedMergeTree::totalBytes() const
void StorageReplicatedMergeTree::assertNotReadonly() const
{
if (is_readonly)
throw Exception("Table is in readonly mode", ErrorCodes::TABLE_IS_READ_ONLY);
throw Exception(ErrorCodes::TABLE_IS_READ_ONLY, "Table is in readonly mode (zookeeper path: {})", zookeeper_path);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册