Skip to content
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

索引配置传入错误参数的问题 #271

Open
Huaixinww opened this issue Oct 13, 2023 · 0 comments
Open

索引配置传入错误参数的问题 #271

Huaixinww opened this issue Oct 13, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@Huaixinww
Copy link
Collaborator

Huaixinww commented Oct 13, 2023

havenask目前只有在做全量时会校验参数
所以如果fed没有对mapping的内容做检查,可能会直接把错误的参数直接写到schema中;
考虑的解决方法:

  1. fed对写入的参数做一些合法性的检查;
  2. 考虑原数据同步时是否可以做优化:同步时能否将正确的内容进行同步,对有问题的table进行报错,确保有问题的table不影响正确的内容的同步;

e.g.
在传入一些不合法的参数时,会成功写到havenask对应table的schema中
image

image

@Huaixinww Huaixinww changed the title 索引配置问题 索引配置传入错误参数的问题 Oct 13, 2023
@weizijun weizijun added the enhancement New feature or request label Oct 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants