xloya commented on PR #8336:
URL: https://github.com/apache/gravitino/pull/8336#issuecomment-3240760323

   > > > 升级步骤是什么?
   > > > 
   > > > 1. 启用兼容时更新服务器
   > > > 2. 新客户端和老客户端可以同时访问服务器
   > > > 3. 删除旧客户端
   > > > 4. 关闭兼容功能
   > > > 
   > > > 对于第二阶段,我们应该同时处理新客户和老客户。现在,从代码上来说,我们无法同时处理新客户和老客户。
   > > 
   > > 
   > > 是的,看起来问题出在第 2 步。大多数情况下(字符串中没有 % 符号),编码一次解码两次是没问题的,但我们不能保证所有极端情况都能正常工作。
   > 
   > 我们可以在请求头中添加客户端版本,这样服务器就可以识别客户端版本,不再需要依赖`enableCompatibility`手动配置。
   
   Yeah, I agree that adding the client version number in the header is a good 
way to solve the compatibility problem on the server side.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to