Distributed region locks only work for Regions of Scope GLOBAL. The GFSH command "create region" --type argument does not include any GLOBAL region types. I'm not certain why GLOBAL is missing from GFSH unless it's been deprecated.
Some options: 1) create a region of scope global in all members using something other than GFSH (ex: cache.xml or Spring Data GemFire or Geode CacheFactory API) 2) create a DistributedLockService of the same name in every member and then use the DistributedLockService API directly -Kirk On Mon, Nov 28, 2016 at 2:23 PM, Porter Woodward < [email protected]> wrote: > Hi - > > I'm having some issues with correctly configuring and/or using distributed > region locks. I've documented the issue here: > > http://stackoverflow.com/questions/40849857/configuring-and-using-geode- > regions-and-locks-for-atomic-data-structures > > In short I can't seem to get the locking working. > > Thanks in advance to anyone who can take a look! > > - Porter Woodward >
