[GitHub] [geode-native] moleske commented on pull request #428: GEODE-6241: Makes .NET integration tests more consistent with C++

2019-01-03 Thread GitHub
I don't think you need `IDisposable` anymore since you removed all the code of `Dispose()` below, though I don't think it really hurts anything. [ Full content available at: https://github.com/apache/geode-native/pull/428 ] This message was relayed via gitbox.apache.org for

[GitHub] [geode-native] moleske commented on pull request #428: GEODE-6241: Makes .NET integration tests more consistent with C++

2019-01-03 Thread GitHub
Just want to say I like this section, much easier to read [ Full content available at: https://github.com/apache/geode-native/pull/428 ] This message was relayed via gitbox.apache.org for notifications@geode.apache.org

[GitHub] [geode-native] moleske commented on pull request #428: GEODE-6241: Makes .NET integration tests more consistent with C++

2019-01-03 Thread GitHub
Stray comment [ Full content available at: https://github.com/apache/geode-native/pull/428 ] This message was relayed via gitbox.apache.org for notifications@geode.apache.org

[GitHub] [geode-native] pivotal-jbarrett commented on issue #430: GEODE-6210: Add 'transaction' example for cpp

2019-01-03 Thread GitHub
Something like: ```c++ main() { ... transactionManager.begin(); try { for (auto& key : batch) { auto value = getValueFromExternalSystem(key); cache.put(key, value); } transactionManager.commit(); } catch ( ... ) { transactionManager.rollback(); } } int32_t

[GitHub] [geode] gesterzhou closed pull request #3040: GEODE-6143: remove PowerMock from TypeUtilsJUnitTest

2019-01-03 Thread GitHub
[ pull request closed by gesterzhou ] [ Full content available at: https://github.com/apache/geode/pull/3040 ] This message was relayed via gitbox.apache.org for notifications@geode.apache.org

[GitHub] [geode] bschuchardt commented on pull request #3036: GEODE-2113 Implement SSL over NIO

2019-01-03 Thread GitHub
I'm glad you mentioned this because I was used to the JUnit4CacheTestCase behavior of disabling shutdown of the DistributedSystem when the cache is closed. The new DistributedRule doesn't appear to do this. [ Full content available at: https://github.com/apache/geode/pull/3036 ] This message

[GitHub] [geode] aditya87 commented on pull request #3049: *DO NOT MERGE* Explore building configuration REST service using Kotlin

2019-01-03 Thread GitHub
Fair point! [ Full content available at: https://github.com/apache/geode/pull/3049 ] This message was relayed via gitbox.apache.org for notifications@geode.apache.org

[GitHub] [geode] aditya87 commented on pull request #3049: *DO NOT MERGE* Explore building configuration REST service using Kotlin

2019-01-03 Thread GitHub
Sure, that seems like a simple enough thing to fix. [ Full content available at: https://github.com/apache/geode/pull/3049 ] This message was relayed via gitbox.apache.org for notifications@geode.apache.org

[GitHub] [geode] bschuchardt commented on pull request #3036: GEODE-2113 Implement SSL over NIO

2019-01-03 Thread GitHub
Yes - even socket.close() can block when there are network problems. That's why we usually spin off AsyncCloser threads to close sockets. [ Full content available at: https://github.com/apache/geode/pull/3036 ] This message was relayed via gitbox.apache.org for notifications@geode.apache.org

[GitHub] [geode] PurelyApplied commented on pull request #3038: GEODE-6237: Opt into publication rather than opting out.

2019-01-03 Thread GitHub
That was left in the root `build.gradle` because that's where it had effectively been before. Old style: publication was shoved into a `subprojects {` configuration, and `askpass` was outside that configuration, implicitly applied to the root project that called the `apply from:

[GitHub] [geode]

2019-01-03 Thread GitHub
[ Full content available at: https://github.com/apache/geode/pull/3036 ] This message was relayed via gitbox.apache.org for notifications@geode.apache.org

[GitHub] [geode] galen-pivotal closed pull request #3026: Update README.md

2019-01-03 Thread GitHub
[ pull request closed by galen-pivotal ] [ Full content available at: https://github.com/apache/geode/pull/3026 ] This message was relayed via gitbox.apache.org for notifications@geode.apache.org

[GitHub] [geode-benchmarks] nabarunnag opened pull request #33: GEODE-6243: New method to get number of members.

2019-01-03 Thread GitHub
* New method added to get the number of members for each role. * Calculating unique addresses for number of members caused an issue when all VMs are in the same physical machine. [ Full content available at: https://github.com/apache/geode-benchmarks/pull/33 ] This message was

[GitHub] [geode] metatype commented on issue #3049: *DO NOT MERGE* Explore building configuration REST service using Kotlin

2019-01-03 Thread GitHub
Introducing a new language to the Geode project raises some questions that we need to answer as a community before adopting this proposal: - When is it appropriate to use Kotlin? When should we prefer Java? - Are there a sufficient number of committers with Kotlin experience to maintain the

[GitHub] [geode] aditya87 commented on pull request #3049: *DO NOT MERGE* Explore building configuration REST service using Kotlin

2019-01-03 Thread GitHub
Yes, definitely would be moving a lot of this stuff out of controller code [ Full content available at: https://github.com/apache/geode/pull/3049 ] This message was relayed via gitbox.apache.org for notifications@geode.apache.org

[GitHub] [geode] jhuynh1 commented on pull request #3040: GEODE-6143: remove PowerMock from TypeUtilsJUnitTest

2019-01-03 Thread GitHub
I think this and the other modified tests can be renamed now since they no longer assert that specific comparators are being used. Instead it's just asserting that we can make comparisons against booleans, different numeric values and date/time objects [ Full content available at:

[GitHub] [geode] bschuchardt commented on pull request #3036: GEODE-2113 Implement SSL over NIO

2019-01-03 Thread GitHub
I tried this but Locator isn't AutoClosable & the compiler objected to the change. [ Full content available at: https://github.com/apache/geode/pull/3036 ] This message was relayed via gitbox.apache.org for notifications@geode.apache.org

[GitHub] [geode] bschuchardt commented on pull request #3036: GEODE-2113 Implement SSL over NIO

2019-01-03 Thread GitHub
That's what the code in Connection was doing & I preserved it. I think the deal is that in some situations we don't consume anything from the buffer & its position hasn't advanced. In that case we need to read more data into the buffer. [ Full content available at:

[GitHub] [geode] kirklund closed pull request #3045: GEODE-6143: Remove PowerMock from ExecuteFunction tests

2019-01-03 Thread GitHub
[ pull request closed by kirklund ] [ Full content available at: https://github.com/apache/geode/pull/3045 ] This message was relayed via gitbox.apache.org for notifications@geode.apache.org

[GitHub] [geode] Petahhh commented on issue #3049: *DO NOT MERGE* Explore building configuration REST service using Kotlin

2019-01-03 Thread GitHub
Hey @kohlmu-pivotal , Could you please rephrase this? I don't fully understand > I wonder... would it not make more sense to rather treat the REST Controller > as an endpoint.. rather put the login inside the controller. Why could we not > have access to the ConfigurationService here? [

[GitHub] [geode] Petahhh commented on issue #3049: *DO NOT MERGE* Explore building configuration REST service using Kotlin

2019-01-03 Thread GitHub
Hey @kohlmu-pivotal , Could you please rephrase this? I don't fully understand. Specially, could you use the phrase "it is **better to** X **instead** of Y" > I wonder... would it not make more sense to rather treat the REST Controller > as an endpoint.. rather put the login inside the

[GitHub] [geode] Petahhh commented on pull request #3044: GEODE-3967: fix the offheap memory leak in serial gateway sender's un…

2019-01-03 Thread GitHub
I realize that these are test cases so maybe you can ignore this request. [ Full content available at: https://github.com/apache/geode/pull/3044 ] This message was relayed via gitbox.apache.org for notifications@geode.apache.org

[GitHub] [geode] kirklund opened pull request #3050: GEODE-6232: Ignored disconnect in PersistentPartitionedRegionRegressionTest

2019-01-03 Thread GitHub
Add IgnoredException to doesNotWaitForPreviousInstanceOfOnlineServer. While testing for GEODE-6232, the only reproducible problem appears to be a DistributedSystemDisconnectedException in a background thread due to doesNotWaitForPreviousInstanceOfOnlineServer disconnecting during the handling of

[GitHub] [geode] rhoughton-pivot closed pull request #3048: GEODE-6242 Consume tgz release artifact for geode-old-versions

2019-01-03 Thread GitHub
[ pull request closed by rhoughton-pivot ] [ Full content available at: https://github.com/apache/geode/pull/3048 ] This message was relayed via gitbox.apache.org for notifications@geode.apache.org

[GitHub] [geode-benchmarks] balesh2 opened pull request #34: update script parameters in readme

2019-01-03 Thread GitHub
[ Full content available at: https://github.com/apache/geode-benchmarks/pull/34 ] This message was relayed via gitbox.apache.org for notifications@geode.apache.org

[GitHub] balesh2 opened a new pull request #34: update script parameters in readme

2019-01-03 Thread GitBox
balesh2 opened a new pull request #34: update script parameters in readme URL: https://github.com/apache/geode-benchmarks/pull/34 This is an automated message from the Apache Git Service. To respond to the message, please

[GitHub] balesh2 closed pull request #29: Use a dedicated separate profile to work with AWS.

2019-01-03 Thread GitBox
balesh2 closed pull request #29: Use a dedicated separate profile to work with AWS. URL: https://github.com/apache/geode-benchmarks/pull/29 This is a PR merged from a forked repository. As GitHub hides the original diff on merge, it is displayed below for the sake of provenance: As this

[GitHub] [geode-benchmarks] balesh2 closed pull request #29: Use a dedicated separate profile to work with AWS.

2019-01-03 Thread GitHub
[ pull request closed by balesh2 ] [ Full content available at: https://github.com/apache/geode-benchmarks/pull/29 ] This message was relayed via gitbox.apache.org for notifications@geode.apache.org

[GitHub] [geode] bschuchardt commented on pull request #3036: GEODE-2113 Implement SSL over NIO

2019-01-03 Thread GitHub
fixed - old habits from the days of using JUnit4CacheTestCase. That base class configures the cache to not disconnect the DistributedSystem. [ Full content available at: https://github.com/apache/geode/pull/3036 ] This message was relayed via gitbox.apache.org for

[GitHub] [geode] galen-pivotal commented on pull request #2807: GEODE-6011: Prevent synchronization using strings and boolean

2019-01-03 Thread GitHub
typo: should be `registerFunctionLock` [ Full content available at: https://github.com/apache/geode/pull/2807 ] This message was relayed via gitbox.apache.org for notifications@geode.apache.org

[GitHub] [geode] boglesby opened pull request #3052: GEODE-6246: Forced super.basicDestroy to be called during sender queu…

2019-01-03 Thread GitHub
…e initialization Thank you for submitting a contribution to Apache Geode. In order to streamline the review of the contribution we ask you to ensure the following steps have been taken: ### For all changes: - [ ] Is there a JIRA ticket associated with this PR? Is it referenced in the commit

[GitHub] [geode] kirklund commented on issue #3050: GEODE-6232: Ignore disconnect in PersistentPartitionedRegionRegressionTest

2019-01-03 Thread GitHub
I checked StressNewTestOpenJDK8 but dunit-hangs.txt and the callstack files are all empty. There is no actionable info of any sort. Mark and I also ran this dunit test several 1000 times in GCP over the last couple days without it ever running into any problems or hanging (just the one time

[GitHub] [geode] kirklund commented on issue #3050: GEODE-6232: Ignore disconnect in PersistentPartitionedRegionRegressionTest

2019-01-03 Thread GitHub
Even though the callstacks are empty and dunit-hangs.txt shows no tests, the file geode-core/build/repeatDistributedTest/repeatDistributedTest-progress.txt does show 683 lines -- half of those are "Starting" and half with one missing are "Completed" -- so I think there was a dunit test still

[GitHub] [geode] aditya87 closed pull request #3049: *DO NOT MERGE* Explore building configuration REST service using Kotlin

2019-01-03 Thread GitHub
[ pull request closed by aditya87 ] [ Full content available at: https://github.com/apache/geode/pull/3049 ] This message was relayed via gitbox.apache.org for notifications@geode.apache.org

[GitHub] [geode-benchmarks] balesh2 closed pull request #34: update script parameters in readme

2019-01-03 Thread GitHub
[ pull request closed by balesh2 ] [ Full content available at: https://github.com/apache/geode-benchmarks/pull/34 ] This message was relayed via gitbox.apache.org for notifications@geode.apache.org

[GitHub] balesh2 closed pull request #34: update script parameters in readme

2019-01-03 Thread GitBox
balesh2 closed pull request #34: update script parameters in readme URL: https://github.com/apache/geode-benchmarks/pull/34 This is a PR merged from a forked repository. As GitHub hides the original diff on merge, it is displayed below for the sake of provenance: As this is a foreign

[GitHub] [geode] bschuchardt opened pull request #3051: Feature/geode 6244

2019-01-03 Thread GitHub
Thank you for submitting a contribution to Apache Geode. In order to streamline the review of the contribution we ask you to ensure the following steps have been taken: ### For all changes: - [x] Is there a JIRA ticket associated with this PR? Is it referenced in the commit message? - [x] Has

[GitHub] [geode] kohlmu-pivotal commented on issue #3049: *DO NOT MERGE* Explore building configuration REST service using Kotlin

2019-01-03 Thread GitHub
@metatype I agree. Maybe the Kotlin experiment has a more limited scope like a non-critical Geode module, this way the effect is contained. Even though, I wholeheartedly believe that some of the concepts that Kotlin embraces by default, like immutability and non-null, could benefit

[GitHub] [geode] kohlmu-pivotal commented on issue #3049: *DO NOT MERGE* Explore building configuration REST service using Kotlin

2019-01-03 Thread GitHub
@metatype I agree. Maybe the Kotlin experiment has a more limited scope like a non-critical Geode module, this way the effect is contained. Even though, I wholeheartedly believe that some of the concepts that Kotlin embraces by default, like immutability and non-null, could benefit

[GitHub] [geode] kirklund commented on issue #3050: GEODE-6232: Ignore disconnect in PersistentPartitionedRegionRegressionTest

2019-01-03 Thread GitHub
@mhansonp I hit the '+' on the StressNewTestOpenJDK8 but couldn't get it to rerun the test that way. I pushed an empty commit to retrigger all test jobs. I also ran `./gradlew repeatDistributedTest --tests PersistentPartitionedRegionRegressionTest -Prepeat=50` locally without any issues. I'm

[GitHub] [geode] bschuchardt closed pull request #3036: GEODE-2113 Implement SSL over NIO

2019-01-03 Thread GitHub
[ pull request closed by bschuchardt ] [ Full content available at: https://github.com/apache/geode/pull/3036 ] This message was relayed via gitbox.apache.org for notifications@geode.apache.org

[GitHub] [geode-native] sboorlagadda opened pull request #429: GEODE-6245: Fix Microsoft pragma warnings

2019-01-03 Thread GitHub
Signed-off-by: Matthew Reddington [ Full content available at: https://github.com/apache/geode-native/pull/429 ] This message was relayed via gitbox.apache.org for notifications@geode.apache.org

[GitHub] [geode] kirklund commented on issue #3050: GEODE-6232: Ignore disconnect in PersistentPartitionedRegionRegressionTest

2019-01-03 Thread GitHub
I checked StressNewTestOpenJDK8 but dunit-hangs.txt and the callstack files are all empty. There is no actionable info of any sort. Mark and I also ran this dunit test several 1000 times in GCP over the last couple days without it ever running into any problems or hanging. [ Full content

[GitHub] [geode] kirklund commented on issue #3050: GEODE-6232: Ignore disconnect in PersistentPartitionedRegionRegressionTest

2019-01-03 Thread GitHub
@ mhansonp is there anything interesting that you can find in the results of StressNewTestOpenJDK8? I downloaded the artifacts, but the dunit-hangs.txt shows no tests were run and the callstack files are empty. It looks like the gradle target hung but I don't think it actually started any dunit

[GitHub] [geode] mhansonp commented on issue #3050: GEODE-6232: Ignore disconnect in PersistentPartitionedRegionRegressionTest

2019-01-03 Thread GitHub
> @mhansonp is there anything interesting that you can find in the results of > StressNewTestOpenJDK8? I downloaded the artifacts, but the dunit-hangs.txt > shows no tests were run and the callstack files are empty. It looks like the > gradle target hung but I don't think it actually started

[GitHub] [geode-native] pivotal-jbarrett commented on issue #408: Geode-5962: Fix putAll crash with null values

2019-01-03 Thread GitHub
`// TODO error handling` [ Full content available at: https://github.com/apache/geode-native/pull/408 ] This message was relayed via gitbox.apache.org for notifications@geode.apache.org

[GitHub] [geode] kirklund commented on issue #3050: GEODE-6232: Ignore disconnect in PersistentPartitionedRegionRegressionTest

2019-01-03 Thread GitHub
@mhansonp is there anything interesting that you can find in the results of StressNewTestOpenJDK8? I downloaded the artifacts, but the dunit-hangs.txt shows no tests were run and the callstack files are empty. It looks like the gradle target hung but I don't think it actually started any dunit

[GitHub] [geode-native] moleske commented on pull request #408: Geode-5962: Fix putAll crash with null values

2019-01-03 Thread GitHub
@pdxcodemonkey and I followed the chain up and the comment looks like it was there to explain the `break;` statement. The errors are not handled at a higher level. [ Full content available at: https://github.com/apache/geode-native/pull/408 ] This message was relayed via gitbox.apache.org for

[GitHub] nabarunnag closed pull request #33: GEODE-6243: New method to get number of members.

2019-01-03 Thread GitBox
nabarunnag closed pull request #33: GEODE-6243: New method to get number of members. URL: https://github.com/apache/geode-benchmarks/pull/33 This is a PR merged from a forked repository. As GitHub hides the original diff on merge, it is displayed below for the sake of provenance: As

[GitHub] [geode-benchmarks] nabarunnag closed pull request #33: GEODE-6243: New method to get number of members.

2019-01-03 Thread GitHub
[ pull request closed by nabarunnag ] [ Full content available at: https://github.com/apache/geode-benchmarks/pull/33 ] This message was relayed via gitbox.apache.org for notifications@geode.apache.org

[GitHub] [geode] gesterzhou closed pull request #3037: GEODE-6143: remove PowerMock from GatewayReceiverXmlParsingValidation…

2019-01-03 Thread GitHub
[ pull request closed by gesterzhou ] [ Full content available at: https://github.com/apache/geode/pull/3037 ] This message was relayed via gitbox.apache.org for notifications@geode.apache.org

[GitHub] [geode] bschuchardt commented on pull request #3036: GEODE-2113 Implement SSL over NIO

2019-01-03 Thread GitHub
I'm leaving it but adding a comment. It took me a while to find this debug setting & I don't want to have to do that again. [ Full content available at: https://github.com/apache/geode/pull/3036 ] This message was relayed via gitbox.apache.org for notifications@geode.apache.org

[GitHub] [geode] bschuchardt commented on pull request #3036: GEODE-2113 Implement SSL over NIO

2019-01-03 Thread GitHub
I removed use of CacheFactory.getAnyInstance(). [ Full content available at: https://github.com/apache/geode/pull/3036 ] This message was relayed via gitbox.apache.org for notifications@geode.apache.org

[GitHub] [geode-benchmarks] upthewaterspout closed pull request #28: Adding additional metrics of standard error

2019-01-03 Thread GitHub
[ pull request closed by upthewaterspout ] [ Full content available at: https://github.com/apache/geode-benchmarks/pull/28 ] This message was relayed via gitbox.apache.org for notifications@geode.apache.org

[GitHub] upthewaterspout closed pull request #28: Adding additional metrics of standard error

2019-01-03 Thread GitBox
upthewaterspout closed pull request #28: Adding additional metrics of standard error URL: https://github.com/apache/geode-benchmarks/pull/28 This is a PR merged from a forked repository. As GitHub hides the original diff on merge, it is displayed below for the sake of provenance: As

[GitHub] [geode] pivotal-jbarrett commented on pull request #2807: GEODE-6011: Prevent synchronization using strings and boolean

2019-01-03 Thread GitHub
 good catch! [ Full content available at: https://github.com/apache/geode/pull/2807 ] This message was relayed via gitbox.apache.org for notifications@geode.apache.org

[GitHub] [geode] pdxrunner commented on issue #2825: GEODE-6027: refactor updateClusterConfig

2019-01-03 Thread GitHub
> @pdxrunner is this PR going to see any more effort or should it be closed? Thanks for pinging me on this. I should have closed it out when I superseded it with https://github.com/apache/geode/pull/2846 [ Full content available at: https://github.com/apache/geode/pull/2825 ] This message was

[GitHub] [geode] galen-pivotal commented on pull request #3036: GEODE-2113 Implement SSL over NIO

2019-01-03 Thread GitHub
sounds good. [ Full content available at: https://github.com/apache/geode/pull/3036 ] This message was relayed via gitbox.apache.org for notifications@geode.apache.org

[GitHub] [geode] pdxrunner closed pull request #2825: GEODE-6027: refactor updateClusterConfig

2019-01-03 Thread GitHub
[ pull request closed by pdxrunner ] [ Full content available at: https://github.com/apache/geode/pull/2825 ] This message was relayed via gitbox.apache.org for notifications@geode.apache.org

[GitHub] [geode] kohlmu-pivotal commented on issue #3049: *DO NOT MERGE* Explore building configuration REST service using Kotlin

2019-01-03 Thread GitHub
@Petahhh the intent of comment is to portrait that I prefer that the REST endpoint is "DUMB" and is only responsible invoking a service call. ```ConfigurationService.createRegion("name","type",attributes)``` The fact that we use a function call to create is a detail that we have leaked. One

[GitHub] [geode-native] moleske opened pull request #430: GEODE-6210: Add 'transaction' example for cpp

2019-01-03 Thread GitHub
- demonstrates commit and rollback of transactions - handles exceptions [ Full content available at: https://github.com/apache/geode-native/pull/430 ] This message was relayed via gitbox.apache.org for notifications@geode.apache.org

[GitHub] [geode] gesterzhou commented on pull request #3044: GEODE-3967: fix the offheap memory leak in serial gateway sender's un…

2019-01-03 Thread GitHub
This part of fix will resolve the root cause which caused the revert. [ Full content available at: https://github.com/apache/geode/pull/3044 ] This message was relayed via gitbox.apache.org for notifications@geode.apache.org

[GitHub] [geode-native] moleske commented on issue #430: GEODE-6210: Add 'transaction' example for cpp

2019-01-03 Thread GitHub
I personally would be ok with those changes being requested, let's see if others have your reservations. Seems like it wouldn't be too crazy to throw some error and then rollback in something slightly more realistic. [ Full content available at: https://github.com/apache/geode-native/pull/430