[dubbo] branch master updated: Polish /apache/dubbo#5745 : Increasing the stack size in the start.sh (#5753)
This is an automated email from the ASF dual-hosted git repository. mercyblitz pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/dubbo.git The following commit(s) were added to refs/heads/master by this push: new f4af3de Polish /apache/dubbo#5745 : Increasing the stack size in the start.sh (#5753) f4af3de is described below commit f4af3ded4b305423a79272843c6c8ea0207415b1 Author: Mercy Ma AuthorDate: Tue Feb 18 12:36:55 2020 +0800 Polish /apache/dubbo#5745 : Increasing the stack size in the start.sh (#5753) --- .../src/main/resources/META-INF/assembly/bin/start.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dubbo-container/dubbo-container-api/src/main/resources/META-INF/assembly/bin/start.sh b/dubbo-container/dubbo-container-api/src/main/resources/META-INF/assembly/bin/start.sh index 6994e7d..50c3a70 100755 --- a/dubbo-container/dubbo-container-api/src/main/resources/META-INF/assembly/bin/start.sh +++ b/dubbo-container/dubbo-container-api/src/main/resources/META-INF/assembly/bin/start.sh @@ -93,13 +93,13 @@ fi # MaxInlineLevel=15 is the default since JDK 14 and can be removed once older JDKs are no longer supported BITS=`java -version 2>&1 | grep -i 64-bit` -JAVA_MEM_OPTS=" -server -Xmx2g -Xms2g -Xmn256m -XX:${VM_ARGS}=128m -Xss256k -XX:+DisableExplicitGC -XX:+UseConcMarkSweepGC -XX:+CMSParallelRemarkEnabled -XX:+UseCMSCompactAtFullCollection -XX:LargePageSizeInBytes=128m -XX:+UseFastAccessorMethods -XX:+UseCMSInitiatingOccupancyOnly -XX:CMSInitiatingOccupancyFraction=70 " +JAVA_MEM_OPTS=" -server -Xmx2g -Xms2g -Xmn256m -XX:${VM_ARGS}=128m -Xss512k -XX:+DisableExplicitGC -XX:+UseConcMarkSweepGC -XX:+CMSParallelRemarkEnabled -XX:+UseCMSCompactAtFullCollection -XX:LargePageSizeInBytes=128m -XX:+UseFastAccessorMethods -XX:+UseCMSInitiatingOccupancyOnly -XX:CMSInitiatingOccupancyFraction=70 " if [ -n "$BITS" ]; then JAVA_MAJOR_VERSION=${JAVA_VERSION%%[.|-]*} JAVA_MINOR_VERSION=$(echo $JAVA_VERSION | awk -F\. '{ print $2 }') if [ $JAVA_MAJOR_VERSION -ge 9 ] || ([ $JAVA_MAJOR_VERSION -ge 1 ] && [ $JAVA_MINOR_VERSION -ge 8 ]); then - JAVA_MEM_OPTS=" -server -Xmx2g -Xms2g -Xmn256m -XX:${VM_ARGS}=128m -Xss256k -XX:LargePageSizeInBytes=128m -XX:+DisableExplicitGC -XX:+UseG1GC -XX:MaxGCPauseMillis=200 -XX:G1HeapRegionSize=16m -XX:G1ReservePercent=25 -XX:InitiatingHeapOccupancyPercent=30 -XX:SoftRefLRUPolicyMSPerMB=0 -XX:SurvivorRatio=8 -XX:G1ReservePercent=15 " + JAVA_MEM_OPTS=" -server -Xmx2g -Xms2g -Xmn256m -XX:${VM_ARGS}=128m -Xss512k -XX:LargePageSizeInBytes=128m -XX:+DisableExplicitGC -XX:+UseG1GC -XX:MaxGCPauseMillis=200 -XX:G1HeapRegionSize=16m -XX:G1ReservePercent=25 -XX:InitiatingHeapOccupancyPercent=30 -XX:SoftRefLRUPolicyMSPerMB=0 -XX:SurvivorRatio=8 -XX:G1ReservePercent=15 " fi else JAVA_MEM_OPTS=" -server -Xms1g -Xmx1g -XX:${VM_ARGS}=128m -XX:SurvivorRatio=2 -XX:+UseParallelGC "
[dubbo-go] branch develop updated: Fix: do not release conn when can not get response
This is an automated email from the ASF dual-hosted git repository. fangyc pushed a commit to branch develop in repository https://gitbox.apache.org/repos/asf/dubbo-go.git The following commit(s) were added to refs/heads/develop by this push: new d71ca0b Fix: do not release conn when can not get response new 26238d4 Merge pull request #361 from divebomb/develop d71ca0b is described below commit d71ca0b30744903bba001ea5297d78956e3a2616 Author: AlexStocks AuthorDate: Sun Feb 16 23:52:13 2020 +0800 Fix: do not release conn when can not get response --- protocol/dubbo/client.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/protocol/dubbo/client.go b/protocol/dubbo/client.go index 3923b7e..0765a33 100644 --- a/protocol/dubbo/client.go +++ b/protocol/dubbo/client.go @@ -24,9 +24,9 @@ import ( ) import ( - "github.com/apache/dubbo-go-hessian2" + hessian "github.com/apache/dubbo-go-hessian2" "github.com/dubbogo/getty" - "github.com/dubbogo/gost/sync" + gxsync "github.com/dubbogo/gost/sync" perrors "github.com/pkg/errors" "go.uber.org/atomic" "gopkg.in/yaml.v2" @@ -274,8 +274,8 @@ func (c *Client) call(ct CallType, request *Request, response *Response, callbac select { case <-getty.GetTimeWheel().After(c.opts.RequestTimeout): - err = errClientReadTimeout c.removePendingResponse(SequenceType(rsp.seq)) + return perrors.WithStack(errClientReadTimeout) case <-rsp.done: err = rsp.err }
[dubbo-go] branch 1.3 updated: Fix: do not release conn when can not get response
This is an automated email from the ASF dual-hosted git repository. fangyc pushed a commit to branch 1.3 in repository https://gitbox.apache.org/repos/asf/dubbo-go.git The following commit(s) were added to refs/heads/1.3 by this push: new a0a21d0 Fix: do not release conn when can not get response new 0b9ba3f Merge pull request #360 from divebomb/1.3 a0a21d0 is described below commit a0a21d0a08fcacf582baadb38866f2267ca6328f Author: AlexStocks AuthorDate: Sun Feb 16 23:47:29 2020 +0800 Fix: do not release conn when can not get response --- protocol/dubbo/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protocol/dubbo/client.go b/protocol/dubbo/client.go index 3e2a243..d40f98d 100644 --- a/protocol/dubbo/client.go +++ b/protocol/dubbo/client.go @@ -258,8 +258,8 @@ func (c *Client) call(ct CallType, request *Request, response *Response, callbac select { case <-getty.GetTimeWheel().After(c.opts.RequestTimeout): - err = errClientReadTimeout c.removePendingResponse(SequenceType(rsp.seq)) + return perrors.WithStack(errClientReadTimeout) case <-rsp.done: err = rsp.err }
[dubbo-go] branch 1.3 updated: Mod: README.md & licence
This is an automated email from the ASF dual-hosted git repository. fangyc pushed a commit to branch 1.3 in repository https://gitbox.apache.org/repos/asf/dubbo-go.git The following commit(s) were added to refs/heads/1.3 by this push: new 5170808 Mod: README.md & licence 5170808 is described below commit 5170808e8bbeb21db833064696369dca1acf17f4 Author: fangyincheng AuthorDate: Tue Feb 18 02:19:09 2020 +0800 Mod: README.md & licence --- README.md | 6 - README_CN.md | 6 - .../protoc-gen-dubbo/examples/helloworld.proto | 29 -- 3 files changed, 26 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index c78be86..b256842 100644 --- a/README.md +++ b/README.md @@ -124,7 +124,7 @@ Windows before_ut.bat ``` -# Run +### Run ```bash go test ./... @@ -132,6 +132,10 @@ go test ./... go test ./... -coverprofile=coverage.txt -covermode=atomic ``` +## Build + +Please move to [dubbo-samples/golang](https://github.com/dubbogo/dubbo-samples) + ## Contributing If you are willing to do some code contributions and document contributions to [Apache/dubbo-go](https://github.com/apache/dubbo-go), please visit [contribution intro](https://github.com/apache/dubbo-go/blob/master/contributing.md). diff --git a/README_CN.md b/README_CN.md index afa7620..948aed6 100644 --- a/README_CN.md +++ b/README_CN.md @@ -122,7 +122,7 @@ Windows before_ut.bat ``` -# 执行 +### 执行 ```bash go test ./... @@ -130,6 +130,10 @@ go test ./... go test ./... -coverprofile=coverage.txt -covermode=atomic ``` +## 编译 + +请移步 [dubbo-samples/golang](https://github.com/dubbogo/dubbo-samples) + ## 如何贡献 如果您愿意给 [Apache/dubbo-go](https://github.com/apache/dubbo-go) 贡献代码或者文档,我们都热烈欢迎。具体请参考 [contribution intro](https://github.com/apache/dubbo-go/blob/master/contributing.md)。 diff --git a/protocol/grpc/protoc-gen-dubbo/examples/helloworld.proto b/protocol/grpc/protoc-gen-dubbo/examples/helloworld.proto index d68e1dd..e73f72b 100644 --- a/protocol/grpc/protoc-gen-dubbo/examples/helloworld.proto +++ b/protocol/grpc/protoc-gen-dubbo/examples/helloworld.proto @@ -1,16 +1,19 @@ -// Copyright 2015 The gRPC Authors -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +/* +Licensed to the Apache Software Foundation (ASF) under one or more +contributor license agreements. See the NOTICE file distributed with +this work for additional information regarding copyright ownership. +The ASF licenses this file to You under the Apache License, Version 2.0 +(the "License"); you may not use this file except in compliance with +the License. You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ syntax = "proto3"; option java_multiple_files = true;
[dubbo-js] 01/02: rename npm module name
This is an automated email from the ASF dual-hosted git repository. hufeng pushed a commit to branch v3.0.0 in repository https://gitbox.apache.org/repos/asf/dubbo-js.git commit 20b8111cecec1a2f6eff3cc6588242ac81f32af9 Author: hufeng AuthorDate: Sun Feb 16 22:10:27 2020 +0800 rename npm module name --- packages/dubbo/package.json | 4 +++- yarn.lock | 5 + 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/packages/dubbo/package.json b/packages/dubbo/package.json index 7797362..a412582 100644 --- a/packages/dubbo/package.json +++ b/packages/dubbo/package.json @@ -1,9 +1,11 @@ { - "name": "dubbo-js", + "name": "apache-dubbo-js", "version": "3.0.0", "main": "./es7/index.js", "types": "./es7/typings/index.d.ts", "license": "Apache Licence 2.0", + "description": "Aapche dubbo & dubbo-js", + "author": "huf...@apache.org, xiaodongy...@apache.org", "engines": { "node": ">=6.0.0" }, diff --git a/yarn.lock b/yarn.lock index a9d4bb9..baa49c4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2372,6 +2372,11 @@ jest@^21.2.1: dependencies: jest-cli "^21.2.1" +jexpose@^1.0.1: + version "1.0.1" + resolved "https://registry.npm.taobao.org/jexpose/download/jexpose-1.0.1.tgz#18dd066772ffe48b68483f2157ad9c7cf3de1eb3; + integrity sha1-GN0GZ3L/5ItoSD8hV62cfPPeHrM= + js-to-java@2.4.0: version "2.4.0" resolved "http://registry.npm.taobao.org/js-to-java/download/js-to-java-2.4.0.tgz#b275f2ddfeb2f71e6bd0c41cb74573187f201a50;
[dubbo-js] branch v3.0.0 updated (9f8b4ac -> d68e1f5)
This is an automated email from the ASF dual-hosted git repository. hufeng pushed a change to branch v3.0.0 in repository https://gitbox.apache.org/repos/asf/dubbo-js.git. from 9f8b4ac add apache info new 20b8111 rename npm module name new d68e1f5 merge The 2 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: packages/dubbo/package.json | 6 -- yarn.lock | 4 ++-- 2 files changed, 6 insertions(+), 4 deletions(-)
[dubbo-js] 02/02: merge
This is an automated email from the ASF dual-hosted git repository. hufeng pushed a commit to branch v3.0.0 in repository https://gitbox.apache.org/repos/asf/dubbo-js.git commit d68e1f50cd25b20f165069011259f045bab7b4f1 Merge: 20b8111 9f8b4ac Author: hufeng AuthorDate: Mon Feb 17 22:33:10 2020 +0800 merge packages/dubbo/package.json | 2 +- packages/interpret-cli/package-lock.json | 61 +--- packages/interpret-cli/package.json | 8 +++-- packages/interpret-util/package.json | 6 +++- 4 files changed, 45 insertions(+), 32 deletions(-) diff --cc packages/dubbo/package.json index a412582,7797362..5b162ac --- a/packages/dubbo/package.json +++ b/packages/dubbo/package.json @@@ -1,6 -1,6 +1,6 @@@ { - "name": "dubbo-js", - "version": "3.0.0", + "name": "apache-dubbo-js", - "version": "3.0.0", ++ "version": "3.0.0-rc6", "main": "./es7/index.js", "types": "./es7/typings/index.d.ts", "license": "Apache Licence 2.0",