aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-04-24README.md: fix version typo (backport of #6976)upstream-v1.29.xJihun Cho
2020-04-23buildscripts: use xds-test-server imageEric Gribkoff
2020-04-21Bump version to 1.29.1-SNAPSHOTPenn (Dapeng) Zhang
2020-04-21Bump version to 1.29.0upstream/v1.29.0Penn (Dapeng) Zhang
2020-04-21Update README etc to reference 1.29.0Penn (Dapeng) Zhang
2020-04-16xds: allow duplicated route matcher and prefix='/'ZHANG Dapeng
2020-04-07xds: migrating XdsNameResolver to "xds" schemeZHANG Dapeng
Change "xds-experimenal" scheme to "xds" and add a deprecated provider with "xds-experimenal" scheme for keeping current users' tests working.
2020-04-07xds: implement LRS LB policy (#6858)Chengyuan Zhang
Part of xDS LB policy refactoring work. Implement the LRS LB policy for "balancing" endpoints within a certain locality.
2020-04-06rls: subchannel state manager (#6882)Jihun Cho
2020-04-06interop-testing: delete deprecated environment variable for enabling grpclb ↵Chengyuan Zhang
(#6903)
2020-04-06core: keep round_robin lb subchannel in TRANSIENT_FAILURE until becoming ↵Chengyuan Zhang
READY (#6657) Make each subchannel created by RR stay in TRANSIENT_FAILURE state until READY. That is, each subchannel ignores consequent non-READY states after TRANSIENT_FAILURE.
2020-04-06stub: add Blocking StubType to blocking ClientCalls methods. (#6900)Ran
2020-04-04xds: generate xds-routing config from XdsNameResolverZHANG Dapeng
2020-04-03Update README etc to reference 1.28.1Chengyuan Zhang
2020-04-03xds: ensure we shutdown XdsClientImpl when XDS Server is shut down (#6890)sanjaypujare
2020-04-02grpclb,xds: fix code lintZHANG Dapeng
2020-04-02api: Fix javadoc reference to deprecated method (#6894)ST-DDT
2020-04-02interop-testing: add health service to XdsTestServer (#6891)Eric Gribkoff
2020-04-02xds: set listeningAddresses in Node and metadata as per the new interface ↵sanjaypujare
(#6880)
2020-04-02all: Add more projects to the all super-projectEric Anderson
This adds to the published JavaDoc and reported code coverage.
2020-04-02services,grpclb: Filter internal files from javadoc/jacocoEric Anderson
2020-04-01all: Add grpc-xdsEric Anderson
This will fix reporting of xDS code coverage.
2020-04-01all: Move jacocoTestReport exclusions to individual projectsEric Anderson
The sourceSets.main.output.collect should probably be improved at some point to improve loading performance, but this is technically better than what we had before so let's call it a win and move on.
2020-03-31xds: patch unit tests for changes in locality filtering (#6881)Chengyuan Zhang
Add unit test that covers handling EDS responses containing: locality with 0 endpoint, locality with 0 weight.
2020-03-31xds: exclude 3 transitive deps from opencensus_proto to use our own (#6878)sanjaypujare
2020-03-31grpclb: CachedSubchannelPool use new create subchannel (#6831)Jihun Cho
2020-03-31benchmarks: fix missing configuration for netty server (#6877)Jihun Cho
2020-03-30xds: filter EDS localities with clarified specifications (#6874)Chengyuan Zhang
Fix logic of filtering localites in EDS responses: - Each LocalityLbEndpoints message is allowed to contain 0 LbEndpoints. - LocalityLbEndpoints without or with 0 weight are ignored. - NACK responses with sparse locality priorities.
2020-03-30core: copy the SchemaDescriptor when rebuilding descriptor (#6851)Chris Nokleberg
useMarshalledMessages works by duplicating a ServerServiceDefinition while replacing just the marshallers. It currently does not copy over the SchemaDescriptors, which breaks at least the ProtoReflectionService.
2020-03-30xds: update to envoy commit id b16ce6d5ea0d2da73e764d145623e7367dc59ed3 (#6871)sanjaypujare
2020-03-30core: preserve KnownLength when wrapping InputStream (#6852)Chris Nokleberg
useInputStreamMessages ensures that the InputStream supports marking by wrapping the stream in a BufferedInputStream if markSupported() returns false. This change uses a new subclass of BufferedInputStream that also implements KnownLength, when the original stream also implements KnownLength.
2020-03-27android-interop-testing: resolve build warnings (#6870)Chengyuan Zhang
Suppressed compiler warnings caused by protobug-javalite and errorrprone warnings from grpc-interop-testing + "throw-in-finally".
2020-03-27netty: prevent interruption during bind from leaking channelEric Anderson
Fixes #6850
2020-03-27xds: rollback PGV dependency from using maven artifact to importing proto sourceZHANG Dapeng
PGV is adding new fields (`well_known_regex` and `strict`) to proto and some of our new features require the most current envoy API which in turn requires the new fields in latest PGV proto (https://github.com/envoyproxy/envoy/blob/master/api/envoy/api/v2/core/base.proto#L251), but they are not available in the latest PGV maven release.
2020-03-27xds: fix lint warnings (#6869)Kun Zhang
2020-03-27core: Add missing setListener if decompressor is unknownEric Anderson
Previously AbstractServerStream would throw an exception which would kill the RPC with a RST_STREAM. Now the server actually responds with a clean error message and avoids spamming the logs. WARNING: Exception in onHeadersRead() java.lang.IllegalStateException at com.google.common.base.Preconditions.checkState(Preconditions.java:495) at io.grpc.internal.AbstractStream$TransportState.onStreamAllocated(AbstractStream.java:232) at io.grpc.internal.AbstractServerStream$TransportState.onStreamAllocated(AbstractServerStream.java:224) at io.grpc.netty.NettyServerHandler.onHeadersRead(NettyServerHandler.java:451) at io.grpc.netty.NettyServerHandler.access$900(NettyServerHandler.java:101) at io.grpc.netty.NettyServerHandler$FrameListener.onHeadersRead(NettyServerHandler.java:807) at io.netty.handler.codec.http2.DefaultHttp2ConnectionDecoder$FrameReadListener.onHeadersRead(DefaultHttp2ConnectionDecoder.java:373)
2020-03-27Upgrade protobuf plugin version to 0.8.12, android plugin version to 3.5.0 ↵Chengyuan Zhang
(#6859)
2020-03-26buildscripts: allow per-xds test case artifacts (#6857)Eric Gribkoff
2020-03-25xds: integration of XdsClientImpl with XdsServerBuilder to deliver Listener ↵sanjaypujare
updates (#6838)
2020-03-24update android-interop-testing ca.pemjiangtaoli2016
2020-03-24build: bump netty to 4.1.48.Final, bump tcnative to 2.0.30.Final (#6845)Jihun Cho
2020-03-24xds: annotate XdsRoutingLoadBalancerTest with RunWith (#6855)Kun Zhang
This is required inside google for all tests.
2020-03-23core: prevent data race in ManagedChannelOrphanWrapper (#6854)Kun Zhang
Data race was detected internally when ManagedChannelOrphanWrapper.shutdown() was called concurrently: WARNING: ThreadSanitizer: data race (pid=5009) Write of size 8 at 0x7fd2f7f37530 by thread T49: #0 java.lang.ref.Reference.clear()V Reference.java:265 #1 io.grpc.internal.ManagedChannelOrphanWrapper$ManagedChannelReference.clearInternal()V ManagedChannelOrphanWrapper.java:118 #2 io.grpc.internal.ManagedChannelOrphanWrapper$ManagedChannelReference.clear()V ManagedChannelOrphanWrapper.java:110 #3 io.grpc.internal.ManagedChannelOrphanWrapper.shutdown()Lio/grpc/ManagedChannel; ManagedChannelOrphanWrapper.java:58 (stacktrace redacted) Previous write of size 8 at 0x7fd2f7f37530 by thread T45 (mutexes: write M267260296638793720, write M267541771615505864, write M267823246592216728, write M267260296898451984, write M267541771875162784, write M267823246851873416): #0 java.lang.ref.Reference.clear()V Reference.java:265 #1 io.grpc.internal.ManagedChannelOrphanWrapper$ManagedChannelReference.clearInternal()V ManagedChannelOrphanWrapper.java:118 #2 io.grpc.internal.ManagedChannelOrphanWrapper$ManagedChannelReference.clear()V ManagedChannelOrphanWrapper.java:110 #3 io.grpc.internal.ManagedChannelOrphanWrapper.shutdown()Lio/grpc/ManagedChannel; ManagedChannelOrphanWrapper.java:58 (stacktrace redacted)
2020-03-23Update to test credentials to use 2048-bit RSA key (#6841)Jiangtao Li
Update to test credentials to use 2048-bit RSA key
2020-03-23xds: implement XdsRoutingLoadBalancerZHANG Dapeng
2020-03-20android-interop-testing: set minSdkVersion to 14 in manifest (#6846)Chengyuan Zhang
2020-03-19buildscripts: clean up android related scripts (#6843)Chengyuan Zhang
Fix incorrect android-interop-testing apk path after flatten the project structure.
2020-03-19android-interop-testing: include android interop testing in main build (#6829)Chengyuan Zhang
Proto generated code for android-interop-testing is checked in.
2020-03-18core: fix java.nio.ByteBuffer Java 9+ incompatible usageZHANG Dapeng
2020-03-18android: suppress warnings for deprecated constants in ConnectivityManager ↵Chengyuan Zhang
(#6835) For Android version 28, some constants in ConnectivityManager have been deprecated such as ConnectivityManager. CONNECTIVITY_ACTION, ConnectivityManager. TYPE_WIFI, ConnectivityManager. TYPE_MOBILE, etc. In grpc-android, they are used for supporting legacy SDK connectivity state monitoring (and its unit tests). They work as intended for legacy SDK versions. So we suppress those warnings for the target SDK version 28.