Sorry to append another question: How to embed an update on the partitioned region in a transaction?
As I met with the exception with TransactionDataRebalancedException. Thanks again, Wenxing On Fri, Jun 8, 2018 at 5:55 PM, wenxing zheng <[email protected]> wrote: > Dear experts, > > I have met with a question related with transaction on GEODE version: > 1.8.0-SNAPSHOT. How to get the distributed lock with > Region.getDistributedLock as it seemed only support on GLOBAL scope type. > But from the gfsh or the API, we have no chance to create the region with > GLOBAL type since "as of 6.5 use Cache.createRegionFactory(RegionShortcut) > <http://geode.apache.org/releases/latest/javadoc/org/apache/geode/cache/Cache.html#createRegionFactory-org.apache.geode.cache.RegionShortcut-> > ". > > From the RegionShortcut definition, I can't find any descriptions related > with the GLOBAL scope type. > > Please help to shed some lights. > Thanks, Wenxing >
