[GitHub] geode pull request #737: GEODE-3503: Removal of Codec classes left behind.

2017-08-23 Thread WireBaron
Github user WireBaron commented on a diff in the pull request: https://github.com/apache/geode/pull/737#discussion_r134890133 --- Diff: geode-protobuf/src/main/proto/region_API.proto --- @@ -58,6 +58,7 @@ message GetAllRequest { message GetAllResponse { repeated

[GitHub] geode pull request #716: GEODE-3406: Locator accepts Protobuf requests

2017-08-16 Thread WireBaron
Github user WireBaron commented on a diff in the pull request: https://github.com/apache/geode/pull/716#discussion_r133599245 --- Diff: geode-core/src/main/java/org/apache/geode/internal/cache/tier/sockets/ExecutionContext.java --- @@ -0,0 +1,54 @@ +/* + * Licensed

[GitHub] geode pull request #716: GEODE-3406: Locator accepts Protobuf requests

2017-08-16 Thread WireBaron
Github user WireBaron commented on a diff in the pull request: https://github.com/apache/geode/pull/716#discussion_r133598920 --- Diff: geode-protobuf/src/main/java/org/apache/geode/protocol/protobuf/operations/GetAvailableServersOperationHandler.java --- @@ -50,51 +37,19

[GitHub] geode pull request #716: GEODE-3406: Locator accepts Protobuf requests

2017-08-16 Thread WireBaron
Github user WireBaron commented on a diff in the pull request: https://github.com/apache/geode/pull/716#discussion_r133596280 --- Diff: geode-core/src/main/java/org/apache/geode/distributed/internal/tcpserver/TcpServer.java --- @@ -334,42 +342,46 @@ protected void run

[GitHub] geode pull request #716: GEODE-3406: Locator accepts Protobuf requests

2017-08-16 Thread WireBaron
Github user WireBaron commented on a diff in the pull request: https://github.com/apache/geode/pull/716#discussion_r133597359 --- Diff: geode-core/src/main/java/org/apache/geode/internal/cache/tier/sockets/ClientProtoclMessageHandlerLoader.java --- @@ -0,0 +1,64

[GitHub] geode pull request #716: GEODE-3406: Locator accepts Protobuf requests

2017-08-16 Thread WireBaron
Github user WireBaron commented on a diff in the pull request: https://github.com/apache/geode/pull/716#discussion_r133598026 --- Diff: geode-core/src/main/java/org/apache/geode/internal/cache/tier/sockets/ExecutionContext.java --- @@ -0,0 +1,54 @@ +/* + * Licensed

[GitHub] geode pull request #716: GEODE-3406: Locator accepts Protobuf requests

2017-08-16 Thread WireBaron
Github user WireBaron commented on a diff in the pull request: https://github.com/apache/geode/pull/716#discussion_r133595959 --- Diff: geode-core/src/main/java/org/apache/geode/distributed/internal/tcpserver/TcpServer.java --- @@ -120,6 +126,7 @@ private InetAddress

[GitHub] geode pull request #716: GEODE-3406: Locator accepts Protobuf requests

2017-08-16 Thread WireBaron
Github user WireBaron commented on a diff in the pull request: https://github.com/apache/geode/pull/716#discussion_r133596604 --- Diff: geode-core/src/main/java/org/apache/geode/internal/cache/InternalCache.java --- @@ -76,7 +76,9 @@ */ public interface InternalCache

[GitHub] geode pull request #716: GEODE-3406: Locator accepts Protobuf requests

2017-08-16 Thread WireBaron
Github user WireBaron commented on a diff in the pull request: https://github.com/apache/geode/pull/716#discussion_r133597935 --- Diff: geode-core/src/main/java/org/apache/geode/internal/cache/tier/sockets/ExecutionContext.java --- @@ -0,0 +1,54 @@ +/* + * Licensed

[GitHub] geode pull request #714: GEODE-3412: adding files missing from last commit

2017-08-15 Thread WireBaron
GitHub user WireBaron opened a pull request: https://github.com/apache/geode/pull/714 GEODE-3412: adding files missing from last commit This is adding some files which should have been in the last commit for this feature. Thank you for submitting a contribution to Apache

[GitHub] geode pull request #713: Feature/geode 3412

2017-08-15 Thread WireBaron
Github user WireBaron closed the pull request at: https://github.com/apache/geode/pull/713 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature

[GitHub] geode pull request #713: Feature/geode 3412

2017-08-15 Thread WireBaron
GitHub user WireBaron opened a pull request: https://github.com/apache/geode/pull/713 Feature/geode 3412 This is adding some files which should have been in the last commit for this feature. Thank you for submitting a contribution to Apache Geode. In order

[GitHub] geode pull request #702: GEODE-3416: Reduce synchronization blockages in Soc...

2017-08-15 Thread WireBaron
Github user WireBaron commented on a diff in the pull request: https://github.com/apache/geode/pull/702#discussion_r133230687 --- Diff: geode-core/src/main/java/org/apache/geode/internal/net/SocketCloser.java --- @@ -144,35 +156,22 @@ private boolean isClosed() { * called

[GitHub] geode pull request #702: GEODE-3416: Reduce synchronization blockages in Soc...

2017-08-15 Thread WireBaron
Github user WireBaron commented on a diff in the pull request: https://github.com/apache/geode/pull/702#discussion_r133230527 --- Diff: geode-core/src/main/java/org/apache/geode/internal/net/SocketCloser.java --- @@ -96,46 +99,55 @@ public int getMaxThreads() { return

[GitHub] geode pull request #700: GEODE-3386 - Make KeyedErrorResponse & ErrorRespons...

2017-08-10 Thread WireBaron
Github user WireBaron commented on a diff in the pull request: https://github.com/apache/geode/pull/700#discussion_r132591028 --- Diff: geode-protobuf/src/main/java/org/apache/geode/protocol/protobuf/operations/GetAllRequestOperationHandler.java --- @@ -41,9 +42,8

[GitHub] geode pull request #700: GEODE-3386 - Make KeyedErrorResponse & ErrorRespons...

2017-08-10 Thread WireBaron
Github user WireBaron commented on a diff in the pull request: https://github.com/apache/geode/pull/700#discussion_r132591701 --- Diff: geode-protobuf/src/main/java/org/apache/geode/protocol/protobuf/operations/PutAllRequestOperationHandler.java --- @@ -28,6 +28,8 @@ import

[GitHub] geode pull request #700: GEODE-3386 - Make KeyedErrorResponse & ErrorRespons...

2017-08-10 Thread WireBaron
Github user WireBaron commented on a diff in the pull request: https://github.com/apache/geode/pull/700#discussion_r132591361 --- Diff: geode-protobuf/src/main/java/org/apache/geode/protocol/protobuf/operations/GetAllRequestOperationHandler.java --- @@ -59,13 +59,14

[GitHub] geode pull request #700: GEODE-3386 - Make KeyedErrorResponse & ErrorRespons...

2017-08-10 Thread WireBaron
Github user WireBaron commented on a diff in the pull request: https://github.com/apache/geode/pull/700#discussion_r132591888 --- Diff: geode-protobuf/src/main/java/org/apache/geode/protocol/protobuf/operations/PutAllRequestOperationHandler.java --- @@ -79,9 +81,10

[GitHub] geode pull request #707: GEODE-3412: Add simple authentication flow to proto...

2017-08-10 Thread WireBaron
GitHub user WireBaron opened a pull request: https://github.com/apache/geode/pull/707 GEODE-3412: Add simple authentication flow to protobuf protocol. @pivotal-amurmann @galen-pivotal @kohlmu-pivotal @bschuchardt @hiteshk25 This change adds a simple username/password

[GitHub] geode pull request #683: GEODE-3314 - additional refactoring for developer Q...

2017-08-03 Thread WireBaron
Github user WireBaron commented on a diff in the pull request: https://github.com/apache/geode/pull/683#discussion_r131287954 --- Diff: geode-core/src/main/java/org/apache/geode/distributed/internal/locks/DLockToken.java --- @@ -302,14 +302,14 @@ boolean checkForExpiration

[GitHub] geode pull request #683: GEODE-3314 - additional refactoring for developer Q...

2017-08-03 Thread WireBaron
Github user WireBaron commented on a diff in the pull request: https://github.com/apache/geode/pull/683#discussion_r131287871 --- Diff: geode-core/src/main/java/org/apache/geode/distributed/internal/locks/DLockToken.java --- @@ -87,7 +87,8 @@ private Thread thread

[GitHub] geode pull request #683: GEODE-3314 - additional refactoring for developer Q...

2017-08-03 Thread WireBaron
Github user WireBaron commented on a diff in the pull request: https://github.com/apache/geode/pull/683#discussion_r131287366 --- Diff: geode-core/src/main/java/org/apache/geode/distributed/internal/locks/DLockRequestProcessor.java --- @@ -196,6 +196,13 @@ long getLeaseExpireTime

[GitHub] geode issue #676: GEODE-3321: Adding ErrorCode values to protobuf protocol

2017-08-02 Thread WireBaron
Github user WireBaron commented on the issue: https://github.com/apache/geode/pull/676 Rebased to fix conflicts and added an error code to the new GetAvailableServers handler. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub

[GitHub] geode pull request #676: GEODE-3321: Adding ErrorCode values to protobuf pro...

2017-08-01 Thread WireBaron
GitHub user WireBaron opened a pull request: https://github.com/apache/geode/pull/676 GEODE-3321: Adding ErrorCode values to protobuf protocol @pivotal-amurmann @kohlmu-pivotal @hiteshk25 @galen-pivotal @bschuchardt Signed-off-by: Bruce Schuchardt <bschucha...@pivotal

[GitHub] geode pull request #673: GEODE-3284: New flow: getAvailableServers

2017-07-31 Thread WireBaron
GitHub user WireBaron opened a pull request: https://github.com/apache/geode/pull/673 GEODE-3284: New flow: getAvailableServers @galen-pivotal @kohlmu-pivotal @bschuchardt @hiteshk25 @pivotal-amurmann Signed-off-by: Bruce Schuchardt <bschucha...@pivotal.io>

[GitHub] geode issue #657: GEODE-3286: Failing to cleanup connections from Connection...

2017-07-27 Thread WireBaron
Github user WireBaron commented on the issue: https://github.com/apache/geode/pull/657 Pushed a new revision tightening the check before adding a connection to the connectionTable's receivers. --- If your project is set up for it, you can reply to this email and have your reply

[GitHub] geode pull request #657: GEODE-3286: Failing to cleanup connections from Con...

2017-07-27 Thread WireBaron
Github user WireBaron commented on a diff in the pull request: https://github.com/apache/geode/pull/657#discussion_r129961462 --- Diff: geode-core/src/main/java/org/apache/geode/internal/tcp/Connection.java --- @@ -1322,6 +1328,14 @@ private void createBatchSendBuffer

[GitHub] geode pull request #657: GEODE-3286: Failing to cleanup connections from Con...

2017-07-27 Thread WireBaron
Github user WireBaron commented on a diff in the pull request: https://github.com/apache/geode/pull/657#discussion_r129961225 --- Diff: geode-core/src/main/java/org/apache/geode/internal/tcp/ConnectionTable.java --- @@ -279,26 +280,29 @@ protected void acceptConnection(Socket sock

[GitHub] geode pull request #661: GEODE-3319 - refactor to use protobuf encoding for ...

2017-07-27 Thread WireBaron
GitHub user WireBaron opened a pull request: https://github.com/apache/geode/pull/661 GEODE-3319 - refactor to use protobuf encoding for primitive types @pivotal-amurmann @galen-pivotal @hiteshk25 @kohlmu-pivotal @bschuchardt This changes protobuf EncodedValue messages

[GitHub] geode pull request #657: GEODE-3286: Failing to cleanup connections from Con...

2017-07-26 Thread WireBaron
Github user WireBaron commented on a diff in the pull request: https://github.com/apache/geode/pull/657#discussion_r129683975 --- Diff: geode-core/src/main/java/org/apache/geode/internal/tcp/Connection.java --- @@ -1322,6 +1328,14 @@ private void createBatchSendBuffer

[GitHub] geode pull request #657: GEODE-3286: Failing to cleanup connections from Con...

2017-07-26 Thread WireBaron
Github user WireBaron commented on a diff in the pull request: https://github.com/apache/geode/pull/657#discussion_r129683563 --- Diff: geode-core/src/main/java/org/apache/geode/internal/tcp/Connection.java --- @@ -568,6 +568,12 @@ protected Connection(ConnectionTable t, Socket

[GitHub] geode pull request #657: GEODE-3286: Failing to cleanup connections from Con...

2017-07-25 Thread WireBaron
GitHub user WireBaron opened a pull request: https://github.com/apache/geode/pull/657 GEODE-3286: Failing to cleanup connections from ConnectionTable recei… …ver table @kohlmu-pivotal @galen-pivotal @pivotal-amurmann @bschuchardt @hiteshk25 - prevent adding

[GitHub] geode pull request #649: GEODE-2997: Change new protocol GetAllResponse.

2017-07-20 Thread WireBaron
Github user WireBaron commented on a diff in the pull request: https://github.com/apache/geode/pull/649#discussion_r128652774 --- Diff: geode-protobuf/src/main/proto/basicTypes.proto --- @@ -62,4 +62,14 @@ message Region { message Server { string url = 1

[GitHub] geode pull request #646: GEODE-3213: Refactor ProtoBuf handler flow

2017-07-20 Thread WireBaron
Github user WireBaron commented on a diff in the pull request: https://github.com/apache/geode/pull/646#discussion_r128591891 --- Diff: geode-protobuf/src/main/java/org/apache/geode/protocol/operations/Result.java --- @@ -0,0 +1,28 @@ +/* + * Licensed to the Apache

[GitHub] geode pull request #646: GEODE-3213: Refactor ProtoBuf handler flow

2017-07-20 Thread WireBaron
Github user WireBaron commented on a diff in the pull request: https://github.com/apache/geode/pull/646#discussion_r128597628 --- Diff: geode-protobuf/src/main/java/org/apache/geode/protocol/operations/Failure.java --- @@ -0,0 +1,47 @@ +/* + * Licensed to the Apache

[GitHub] geode pull request #646: GEODE-3213: Refactor ProtoBuf handler flow

2017-07-20 Thread WireBaron
Github user WireBaron commented on a diff in the pull request: https://github.com/apache/geode/pull/646#discussion_r128600182 --- Diff: geode-protobuf/src/main/java/org/apache/geode/protocol/protobuf/ProtobufOpsProcessor.java --- @@ -15,32 +15,35 @@ package

[GitHub] geode pull request #643: GEODE-3192,GEODE-3229: Change API and implementatio...

2017-07-18 Thread WireBaron
GitHub user WireBaron opened a pull request: https://github.com/apache/geode/pull/643 GEODE-3192,GEODE-3229: Change API and implementation of protobuf PutAll. @kohlmu-pivotal @pivotal-amurmann @galen-pivotal @bschuchardt @hiteshk25 * We will now dispatch incoming protobuf

[GitHub] geode pull request #632: GEODE-3203: fixing protobuf build.gradle to respect...

2017-07-13 Thread WireBaron
GitHub user WireBaron opened a pull request: https://github.com/apache/geode/pull/632 GEODE-3203: fixing protobuf build.gradle to respect buildRoot Signed-off-by: Bruce Schuchardt <bschucha...@pivotal.io> Thank you for submitting a contribution to Apache

[GitHub] geode pull request #630: GEODE-3141: GetRegion Operation implemented

2017-07-13 Thread WireBaron
Github user WireBaron commented on a diff in the pull request: https://github.com/apache/geode/pull/630#discussion_r127299289 --- Diff: geode-protobuf/src/test/java/org/apache/geode/protocol/protobuf/operations/PutAllRequestOperationHandlerJUnitTest.java --- @@ -14,6 +14,14

[GitHub] geode pull request #630: GEODE-3141: GetRegion Operation implemented

2017-07-13 Thread WireBaron
Github user WireBaron commented on a diff in the pull request: https://github.com/apache/geode/pull/630#discussion_r127292855 --- Diff: geode-protobuf/src/test/java/org/apache/geode/protocol/protobuf/operations/PutAllRequestOperationHandlerJUnitTest.java --- @@ -14,6 +14,14

[GitHub] geode pull request #630: GEODE-3141: GetRegion Operation implemented

2017-07-13 Thread WireBaron
Github user WireBaron commented on a diff in the pull request: https://github.com/apache/geode/pull/630#discussion_r127290974 --- Diff: geode-protobuf/src/test/java/org/apache/geode/protocol/RoundTripCacheConnectionJUnitTest.java --- @@ -278,6 +278,31 @@ public void

[GitHub] geode pull request #630: GEODE-3141: GetRegion Operation implemented

2017-07-13 Thread WireBaron
Github user WireBaron commented on a diff in the pull request: https://github.com/apache/geode/pull/630#discussion_r127285451 --- Diff: geode-protobuf/src/main/java/org/apache/geode/protocol/protobuf/operations/RemoveRequestOperationHandler.java --- @@ -33,7 +33,7

[GitHub] geode issue #631: GEODE-3051: Remove unreachable exception handling in Accep...

2017-07-13 Thread WireBaron
Github user WireBaron commented on the issue: https://github.com/apache/geode/pull/631 Isn't it the same code handling the SSL handshake for both protocols right now? If it's a different code path, then we should probably add a new test for it. On Thu, Jul 13, 2017

[GitHub] geode pull request #631: GEODE-3051: Remove unreachable exception handling i...

2017-07-12 Thread WireBaron
GitHub user WireBaron opened a pull request: https://github.com/apache/geode/pull/631 GEODE-3051: Remove unreachable exception handling in AcceptorImpl.accept This removes handling of SSL exceptions from the AccepterImpl.accept call, as the SSL handling code is now all done

[GitHub] geode pull request #629: GEODE-2997: New flow getAll/putAll

2017-07-12 Thread WireBaron
GitHub user WireBaron opened a pull request: https://github.com/apache/geode/pull/629 GEODE-2997: New flow getAll/putAll Changed get response to indicate if LookupFailure was a missing key or key with null value, added test Added GetAllRequestOperationHandler and unit test

[GitHub] geode pull request #621: GEODE-3129 - Added error messages to protobuf proto...

2017-07-07 Thread WireBaron
GitHub user WireBaron opened a pull request: https://github.com/apache/geode/pull/621 GEODE-3129 - Added error messages to protobuf protocol added a new ErrorResponse type to ClientProtocol removed success field from several RegionAPI response objects and refactored operation

[GitHub] geode pull request #617: GEODE-3129 - Added error messages to protobuf proto...

2017-07-07 Thread WireBaron
Github user WireBaron closed the pull request at: https://github.com/apache/geode/pull/617 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature

[GitHub] geode pull request #617: GEODE-3129 - Added error messages to protobuf proto...

2017-07-03 Thread WireBaron
GitHub user WireBaron opened a pull request: https://github.com/apache/geode/pull/617 GEODE-3129 - Added error messages to protobuf protocol added a new ErrorResponse type to ClientProtocol removed success field from several RegionAPI response objects and refactored operation

[GitHub] geode pull request #612: GEODE-3121: ensure that the protobuf protocol works...

2017-06-28 Thread WireBaron
GitHub user WireBaron opened a pull request: https://github.com/apache/geode/pull/612 GEODE-3121: ensure that the protobuf protocol works over SSL This just introduces a new test where we run the put/get integration test of the protocol module, but sets up a SSL cache and socket

[GitHub] geode pull request #607: GEODE-3105: adding GetRegion handler for protobuf p...

2017-06-27 Thread WireBaron
GitHub user WireBaron opened a pull request: https://github.com/apache/geode/pull/607 GEODE-3105: adding GetRegion handler for protobuf protocol Added a handler which will catch incoming getRegion requests and will call into the cache's rootRegion and return the names of the region

[GitHub] geode pull request #605: GEODE-2996: incorporating review feedback and addin...

2017-06-27 Thread WireBaron
GitHub user WireBaron opened a pull request: https://github.com/apache/geode/pull/605 GEODE-2996: incorporating review feedback and adding integration test Thank you for submitting a contribution to Apache Geode. In order to streamline the review of the contribution we ask

[GitHub] geode pull request #602: GEODE-3130: Refactoring AcceptorImpl

2017-06-26 Thread WireBaron
GitHub user WireBaron opened a pull request: https://github.com/apache/geode/pull/602 GEODE-3130: Refactoring AcceptorImpl We extracted a switch statement in AcceptorImpl.handleNewClientConnection to a new method. Signed-off-by: Alexander Murmann <amurm...@pivotal

[GitHub] geode pull request #593: GEODE-2995: Handle stream of ProtoBuf encoded messa...

2017-06-26 Thread WireBaron
Github user WireBaron closed the pull request at: https://github.com/apache/geode/pull/593 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature

[GitHub] geode issue #567: GEODE-3051: Removing obsolete SSL handling in `AcceptorImp...

2017-06-22 Thread WireBaron
Github user WireBaron commented on the issue: https://github.com/apache/geode/pull/567 This work is being handled as part of a larger refactor effort. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does

[GitHub] geode pull request #567: GEODE-3051: Removing obsolete SSL handling in `Acce...

2017-06-22 Thread WireBaron
Github user WireBaron closed the pull request at: https://github.com/apache/geode/pull/567 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature

[GitHub] geode pull request #567: GEODE-3051: Removing obsolete SSL handling in `Acce...

2017-06-07 Thread WireBaron
GitHub user WireBaron opened a pull request: https://github.com/apache/geode/pull/567 GEODE-3051: Removing obsolete SSL handling in `AcceptorImpl.accept` c… …atch block Thank you for submitting a contribution to Apache Geode. In order to streamline the review