close
The Wayback Machine - https://web.archive.org/web/20220520105747/https://github.com/topics/service-governance
Skip to content
#

service-governance

Here are 9 public repositories matching this topic...

Language: All
Filter by language
chuntaojun
chuntaojun commented Apr 24, 2022

Describe the bug

  • 北极星的cache刷新机制为依赖数据的mtime字段做增量更新
  • polaris-server会根据数据库中的时间戳,做一个 time.Uinx(时间戳,0) 的动作将时间戳转换为 time.Time
  • 由于数据库返回的时间戳是以数据库的时区为准,而在 polaris-server 中将时间戳转换为 time.Time 则是以 polaris-server 所在机器的时间戳为准,这里容易出现数据库时区与北极星server时区对齐问题
  • 数据库中对于增量数据的比较,不是使用的时间戳,而是直接进行传入 time.Time 类型的参数
  • 如果mysql的time_zone与北极星server所在的时区不一致,则会导致由于时区差异使得 polaris-server 无法拉取增量的数据变更
  • 代码位置:https://githu
bug good first issue

Improve this page

Add a description, image, and links to the service-governance topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the service-governance topic, visit your repo's landing page and select "manage topics."

Learn more