Enable one time Cassandra Authentication and Authorization check and cache it forever

混江龙づ霸主 提交于 2019-11-29 12:34:36

This message is really a signal of something wrong with your setup - machines are overloaded, or something like.

Instead of disabling these settings completely (changing password or chaning role will require restarting of the nodes), I would suggest to do following instead:

  • Set roles_validity_in_ms, permissions_validity_in_ms & credentials_validity_in_ms to some quite high value, something like month;
  • Configure roles_update_interval_in_ms, credentials_update_interval_in_ms & permissions_update_interval_in_ms to some value, like a minute

It also makes sense to tune permissions_cache_max_entries if you have big number of users & tables.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!