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

redis.log not flush in docker on mac OrbStack #1883

Closed
1 task done
3tieto opened this issue Nov 7, 2023 · 3 comments · Fixed by #2131
Closed
1 task done

redis.log not flush in docker on mac OrbStack #1883

3tieto opened this issue Nov 7, 2023 · 3 comments · Fixed by #2131
Labels
bug type bug

Comments

@3tieto
Copy link

3tieto commented Nov 7, 2023

Search before asking

  • I had searched in the issues and found no similar issues.

Version

unstable

Minimal reproduce step

https://lusun.com/v/5tn1fBHzmDO

EVAL 'redis.log(redis.LOG_WARNING, "test")' 0

I recorded the videos, all in docker, and the first redis shown was output in real time. Then I turned off redis and used kvrocks. I can see that it needs to cache more than a dozen items before outputting them at once.

我录了下视频,都是docker,第一个展示的redis,是实时输出的。然后我关了redis,用kvrocks,可以看到要缓存十几条才一次输出

@3tieto 3tieto added the bug type bug label Nov 7, 2023
@git-hulk
Copy link
Member

git-hulk commented Nov 7, 2023

@3tieto Thank you!

@git-hulk
Copy link
Member

git-hulk commented Nov 19, 2023

I cannot reproduce it on my side. To see if other folks have any clues.

@i18nsite
Copy link
Contributor

i18nsite commented Mar 2, 2024

image 如上图,加上FLAGS_logbuflevel = -1; 可以只延时一个输出了(我也不知道为什么还是要延时一个,也就是 stdout会实时输出, LOG(WARNING)要打印下一个的时候会输出上一个 ) image

i18nsite added a commit to i18nsite/kvrocks that referenced this issue Mar 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug type bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants