[GRASS-dev] [GRASS GIS] #2230: 'g.region -p' writes new WIND file, causes race condition for parallel jobs
GRASS GIS
trac at osgeo.org
Tue Mar 25 02:28:11 PDT 2014
#2230: 'g.region -p' writes new WIND file, causes race condition for parallel jobs
----------------------+-----------------------------------------------------
Reporter: hamish | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 6.4.4
Component: Default | Version: svn-develbranch6
Keywords: g.region | Platform: Linux
Cpu: x86-64 |
----------------------+-----------------------------------------------------
Comment(by neteler):
Replying to [ticket:2230 hamish]:
> Hi,
>
> In tracking down some strangeness I've just noticed that 'g.region -p'
or
> 'g.region -g' writes out a new (unchanged) WIND file whenever it runs.
> one solution is to not open the WIND file for writing if just read-only
> command line terms are given
IMHO yes: read-only flags should behave like as such. Otherwise race
conditions
may occur.
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2230#comment:1>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list