Broken: jinmeiliao/geode#37 (indexType - 12f20e6)

2017-10-10 Thread Travis CI
Build Update for jinmeiliao/geode - Build: #37 Status: Broken Duration: 10 minutes and 37 seconds Commit: 12f20e6 (indexType) Author: Jinmei Liao Message: Simplify IndexType class and fix analyzeSerializable test View the changeset: https://github.com/jinmeil

[Spring CI] Spring Data GemFire > Nightly-ApacheGeode > #705 was SUCCESSFUL (with 2182 tests)

2017-10-10 Thread Spring CI
--- Spring Data GemFire > Nightly-ApacheGeode > #705 was successful. --- Scheduled 2184 tests in total. https://build.spring.io/browse/SGF-NAG-705/ -- This

Re: [DISCUSS] C++ Returning null values

2017-10-10 Thread David Kimura
Yes, but I wouldn't expect to ever need to do a type check. Admittedly, I'm not sure what one does with parent region, but if we no-op, return sensible empty values, or throw when appropriate then maybe we don't care? I would expect it to be used something like this: auto parent = region.getParen

Re: [DISCUSS] C++ Returning null values

2017-10-10 Thread Jacob Barrett
Are you thinking something like? class NoRegion : public Region {...}; auto parent = region.getParent(); if (NoRegion == parent) { // no parent region } On Tue, Oct 10, 2017 at 11:08 AM David Kimura wrote: > I'm not sure if this is the same as the sentinel value you mentioned, but > what ab

Build failed in Jenkins: Geode-nightly-flaky #145

2017-10-10 Thread Apache Jenkins Server
See Changes: [khowe] GEODE_3299: Refactor Gfsh functions to acquire Cache from FunctionContex [kirk.lund] GEODE-3790: add new test for CacheListener invocations [huynhja] GEODE-3787: Do not catch NotAuthorize

Re: [DISCUSS] C++ Returning null values

2017-10-10 Thread David Kimura
I'm not sure if this is the same as the sentinel value you mentioned, but what about introducing a no-op region type and returning that? I'm thinking a null object pattern which would no-op and then nobody should need to check if nullptr. Thanks, David On Tue, Oct 10, 2017 at 10:27 AM, Jacob Bar

[DISCUSS] C++ Returning null values

2017-10-10 Thread Jacob Barrett
Looking at a class like Region (Region.cpp) there are calls to get the parent region and sub regions, there are instances where a Region will not have a parent or subs. The current API returns shared_ptr that may be nullptr or a Region. Since we are trying to make an effort towards values over poi

Build failed in Jenkins: Geode-nightly #980

2017-10-10 Thread Apache Jenkins Server
See Changes: [jstewart] GEODE-3786: Suppress IOExceptions when reading process streams in [github] GEODE-3763: Refactor ListIndexCommandDUnitTest to use rules (#894) [khowe] GEODE_3299: Refactor Gfsh functions to a