duongkame commented on PR #1007: URL: https://github.com/apache/ratis/pull/1007#issuecomment-1887799851
> > ... for exsting applications, they have to make a code change to implement the new API before enabling zero copy safely or may crash in runtime. > > We will have zero copy enabled and copy log object before passing it in the old API (i.e. the method without `ReferenceCountedObject`). For the new API with `ReferenceCountedObject`, we will not copy it. Ok, that path makes sense. I removed the config flag. -- 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]
