-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inconsistent property names for "druid.metadata.storage.tables.xxx" #1469
Conversation
I think the question here is whether to correct the documentation or the code. this PR updates the doc with corrected names (which are consistent with other table names) and that seems fine to me |
config.getLockTable(MetadataStorageTablesConfig.TASK_ENTRY_TYPE) | ||
); | ||
|
||
Assert.assertEquals( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this check is very fragile, individual asserts above should be good enough.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
+1 to correct the docs instead of modifying the code. |
…les.xxx" between document and code
LGTM but, here is a caveat: if someone used something like @xvrl @drcrallen what do you think? |
I think it is fine to merge this fix and make a note of it in the forums as well as documenting it. I dont know of any installation that actually overrides this configs, but it may be good to ask |
Inconsistent property names for "druid.metadata.storage.tables.xxx"
Hi @fjy , I posted this a while ago https://groups.google.com/forum/#!topic/druid-development/9tHdxNbMPoE |
druid.metadata.storage.tables.segmentTable
,druid.metadata.storage.tables.ruleTable
anddruid.metadata.storage.tables.configTable
are actually ignored by Druid, because theJsonProperty
specified inMetadataStorageTablesConfig
are different from those.This PR updates the document and adds a serde test.