We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
目前brpc增加了thrift Protocol,但是这个Protocol是插入在Protocol num中间了,改变了以前协议的num值,可能会让使用动态库的场景向前兼容失效。一般我们会把动态库的更新和可执行程序(服务)的更新分开,这样如果协议enum值改了,我们只更新了程序或者只更新了brpc库,都会导致.h和.so里的enum值对不上,而在这样的情况下,保证.so和程序同时更新又很困难。
The text was updated successfully, but these errors were encountered:
协议这个具体case是可以解决的。但是so这种模式就是要求ABI兼容,恐怕是难以做到的。
Sorry, something went wrong.
No branches or pull requests
目前brpc增加了thrift Protocol,但是这个Protocol是插入在Protocol num中间了,改变了以前协议的num值,可能会让使用动态库的场景向前兼容失效。一般我们会把动态库的更新和可执行程序(服务)的更新分开,这样如果协议enum值改了,我们只更新了程序或者只更新了brpc库,都会导致.h和.so里的enum值对不上,而在这样的情况下,保证.so和程序同时更新又很困难。
The text was updated successfully, but these errors were encountered: