GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||
GeezerVison is showing github.com — GH-939: Remove reflection for gRPC buffers by xborder · Pull Request #954 · apache/arrow-java Conversation
|
| if (detachedByteBuffer == null || !detachedByteBuffer.isDirect()) { | ||
| closeQuietly(detachedStream); | ||
| return null; | ||
| } |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Since we detached the stream, if we give up here, aren't we erroneously going to discard the actual data? My understanding of Detachable is that the original stream is now invalid, right?
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
good catch. Actually this is redundant, the isDirect is already checked at the beginning of the method so I just removed it
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
All builds fail:
Error: Non-test scoped test only dependencies found:
Error: io.grpc:grpc-core:jar:1.78.0:compile
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Approved CI
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
CC @ejona86 in case you do want to look over this |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@xborder it seems this doesn't actually work... |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
@lidavidm Seems like a chicken and the egg problem. grpc-core can't be a compile dependency because it is detected as unused by CI although it is still required in runtime ( I've changed the tests to use a mock for the dependency it had on grpc-core. This seemed to have solved the issues from the two previous runs but probably diminishes the relevance of these tests |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@xborder thanks for the update. Let me take a look. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
@lidavidm I think there's something I overlooked. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
49a6815 to
ce66298
Compare
|
@jbonofre I tried to reproduce this on a Windows 11 VM and couldn't. Could this be a flaky test? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
c6bac03 to
bc07143
Compare
There was an error while loading. Please reload this page.
f49f446 to
56dc96e
Compare
Scope detached FlightData buffers to a message-local allocator and retain them into downstream allocators as messages are consumed
56dc96e to
272aaf7
Compare
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
[FlightRPC] Remove sketchy gRPC reflection code
There was an error while loading. Please reload this page.