diff options
author | Aravinda VK <avishwan@redhat.com> | 2019-08-05 19:00:21 +0530 |
---|---|---|
committer | Amar Tumballi <amarts@redhat.com> | 2019-08-06 09:33:47 +0000 |
commit | b1acf275a0779542d0ad1362e926658c037c94d8 (patch) | |
tree | d10ccb0af34c0dc580e0cb1d52bb79321cd6547a /Makefile.am | |
parent | 30e42d14d8d1bec1883f1b7921d01b3117b1eed8 (diff) |
geo-rep: Fix Config Get Race
When two threads(sync jobs) in Geo-rep worker calls `gconf.get` and
`gconf.getr`(realtime) at the sametime, `getr` resets the conf object
and other one gets None. Thread Lock is introduced to fix the issue.
```
File "/usr/libexec/glusterfs/python/syncdaemon/syncdutils.py",
line 368, in twrap
tf(*aargs)
File "/usr/libexec/glusterfs/python/syncdaemon/master.py", line 1987,
in syncjob
po = self.sync_engine(pb, self.log_err)
File "/usr/libexec/glusterfs/python/syncdaemon/resource.py",
line 1444, in rsync
rconf.ssh_ctl_args + \
AttributeError: 'NoneType' object has no attribute 'split'
```
Change-Id: I9c245e5c36338265354e158f5baa32b119eb2da5
Updates: bz#1737484
Signed-off-by: Aravinda VK <avishwan@redhat.com>
Diffstat (limited to 'Makefile.am')
0 files changed, 0 insertions, 0 deletions