nacos-group / nacos-group/nacos-sdk-python

监听配置文件日志冗余

Open
#149 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
471
Forks
155
PR merge metrics
No merged PRs in 30d

Description

为什么在监听的配置文件没有配置文件时也要打印监听事件, 以及为空的变化列表? 满篇都是无效的日志

image
未变化的key为什么要通知_process_polling_result线程呢?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the configuration-file listener and the _process_polling_result thread mentioned in the issue, then reproduce the excessive logging with no configured file and with unchanged keys. Done means listener events and empty change lists are no longer emitted or logged when there is no effective configuration change.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.