docs: improve wording and format for README
Activity
oldratlee forked alibaba/arthas
oldratlee push alibaba/fastjson2
commit sha: 8b578bc6bfb6e71364938723360306d5785fe733
push time in 1 hour agooldratlee in alibaba/fastjson2 delete branch enable-kotlin-and-kotest-for-test
oldratlee push alibaba/fastjson2
commit sha: 29c4bd10480fc046c254fadbbefa7e7b796b3268
push time in 2 hours agooldratlee push alibaba/fastjson2
commit sha: 44cec5088163d380aea5321d44295474a9e86856
push time in 2 hours agooldratlee push alibaba/fastjson2
commit sha: 515d4b660f97a17d1dd1dcca782043a278e0c8b0
push time in 2 hours agooldratlee push alibaba/fastjson2
commit sha: 059842e787479d1f097e48cdab63dca70103ec6c
push time in 3 hours agooldratlee in alibaba/fastjson2 create branch enable-kotlin-and-kotest-for-test
photowey wants to merge alibaba/IOC-Golang
feat: fixed, config file not found in relative path
// config/boot.go yamlFile, err := ioutil.ReadFile(configPath) // use abs see read-files
This is a typo, when written as: "/test/ioc_golang.yaml", boot#IsNotAbsPath() returns true, so the execution result will be the same as the absolute path. At the same time, the unit test cases have been modified.
photowey merge to alibaba/IOC-Golang
feat: fixed, config file not found in relative path
// config/boot.go yamlFile, err := ioutil.ReadFile(configPath) // use abs see read-files
linux-china push alibaba/alibaba-rsocket-broker
commit sha: a85d4627400f4b15ef1db71d79e35de17e22735a
push time in 4 hours agoqingshan1993 issue comment alibaba/nacos
nacos2.1.0集群模式下,控制台的操作涉及到request.getSession()的所有代码,实际是获取不到的
Describe the bug
2.1.0版本,在集群模式下,使用nginx做负载后,控制台上的操作,实际上每一次请求经nginx转发后,每次都会请求到不同的服务端,
这个时候再去request.getSession(),实际上肯定获取不到,会导致操作失败,例如在控制台上修改密码的过程就会涉及到一行代码,
if (Objects.isNull(request.getSession().getAttribute(AuthConstants.NACOS_USER_KEY))) { return false; }
以下是翻译
In version 2.1.0, in the cluster mode, after using nginx as the load, the operation on the console will actually request to different servers after each request is forwarded by nginx,
Go to request again at this time In fact, getsession() cannot be obtained, which will cause the operation to fail. For example, the process of changing the password on the console will involve a line of code
Expected behavior 把request.getSession() 所有相关代码都做相应修改,集群模式下,不应从session中获取任何信息
Modify relevant codes, request.getSession()
, In the cluster mode, no information should be obtained from the session
Acutally behavior
How to Reproduce Steps to reproduce the behavior:
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
Desktop (please complete the following information):
- OS: [e.g. Centos]
- Version [e.g. nacos-server 2.1.0]
- Module [e.g. nacos-plugin-default-impl]
- SDK [e.g. original, spring-cloud-alibaba-nacos, dubbo]
Additional context Add any other context about the problem here.
也可以配置nginx的ip_hash的负载均衡策略来解决
qingshan1993 forked alibaba/nacos
Update thread.md
update obsolete link