lhotari commented on PR #23628:
URL: https://github.com/apache/pulsar/pull/23628#issuecomment-2500344766

   > @lhotari sorry for the trouble, so now should I create a PIP for this one 
or:
   > 
   > 1. revert his PR
   > 2. create a PIP, discuss and vote
   
   @jiangpengcheng Makes sense. The need for the PIP is due to the change in a 
public interface. However creating a PIP isn't useful alone since in this case, 
it will require experimentation to find an optimal solution. An optimal 
solution would be one which doesn't introduce breaking changes in binary 
compatibility or source compatibility.
   
   > 3. and then re-submit this PR ?
   
   Most likely we need a slightly different solution than this PR.
   A solution should be sought where binary compatibility could be preserved. 
For checking binary compatibility, it would be useful to have an integration 
test where a function compiled for a previous version is run with the master 
branch version. Since adding the test could be a lot of work, the first step 
would be to perform this checking manually and having a test case available at 
least in some branch to find a solution where binary compatibility would be 
preserved. 
   
   It's possible that the solution for preserving binary compatibility is 
simply one where methods don't get removed from the WindowContext interface and 
it's simply modified to extend `BaseContext` interface. I might also be wrong 
that binary compatibility is broken in the changes that this PR introduces. 
That needs to be validated in any case, since it's hard to know the corner 
cases of binary compatibility just by analyzing source code.


-- 
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