Changesets: bareos

bareos-13.2 7b92ab6b

2014-02-12 15:17

mvwieringen

Ported: N/A

Details Diff
Fix wrong dummy function definition.
mod - src/lib/compression.c Diff File

bareos-12.4 067a1058

2014-02-11 14:15

mvwieringen

Ported: N/A

Details Diff
Fix typos.
mod - src/filed/restore.c Diff File
mod - src/stored/stored_conf.c Diff File

master f1a80357

2014-02-11 10:49

Marco van Wieringen

Ported: N/A

Details Diff
SD to SD replication makes SD crash

Problem is that we wait up to 30 minutes for the SD-SD replication
job to start but it could be that the total migration/copy run takes
longer then 30 minutes to finish all jobs. The current code doesn't take
this into consideration and doesn't check if there is actually a remote
SD that connected for doing the replication.

So fix is to not continue when sd replication socket is not connected.
And also remove the timeout on starting a SD-SD replication session.
The normal FD-SD connection is protected with a timeout so we don't hang
when a FD never connects. As we support canceling a storage Job from the
director and the director should cleanly cancel the storage job any way
when it fails the copy or migration job it should be no problem.

In a normal backup/restore there are 3 daemons involved e.g. director,
storage daemon and file daemon but with migration the director controls
everything and controls the at maximum two storage daemons.

Fixes 0000276: SD to SD replication makes SD crash
mod - src/stored/dir_cmd.c Diff File
mod - src/stored/sd_cmds.c Diff File

master cf07f93d

2014-02-11 09:49

mvwieringen

Ported: N/A

Details Diff
SD to SD replication makes SD crash

Problem is that we wait up to 30 minutes for the SD-SD replication
job to start but it could be that the total migration/copy run takes
longer then 30 minutes to finish all jobs. The current code doesn't take
this into consideration and doesn't check if there is actually a remote
SD that connected for doing the replication.

So fix is to not continue when sd replication socket is not connected.
And also remove the timeout on starting a SD-SD replication session.
The normal FD-SD connection is protected with a timeout so we don't hang
when a FD never connects. As we support canceling a storage Job from the
director and the director should cleanly cancel the storage job any way
when it fails the copy or migration job it should be no problem.

In a normal backup/restore there are 3 daemons involved e.g. director,
storage daemon and file daemon but with migration the director controls
everything and controls the at maximum two storage daemons.

Fixes 0000276: SD to SD replication makes SD crash
Affected Issues
0000276
mod - src/stored/dir_cmd.c Diff File
mod - src/stored/sd_cmds.c Diff File

bareos-13.2 99c7b1ed

2014-02-11 09:49

mvwieringen

Ported: N/A

Details Diff
SD to SD replication makes SD crash

Problem is that we wait up to 30 minutes for the SD-SD replication
job to start but it could be that the total migration/copy run takes
longer then 30 minutes to finish all jobs. The current code doesn't take
this into consideration and doesn't check if there is actually a remote
SD that connected for doing the replication.

So fix is to not continue when sd replication socket is not connected.
And also remove the timeout on starting a SD-SD replication session.
The normal FD-SD connection is protected with a timeout so we don't hang
when a FD never connects. As we support canceling a storage Job from the
director and the director should cleanly cancel the storage job any way
when it fails the copy or migration job it should be no problem.

In a normal backup/restore there are 3 daemons involved e.g. director,
storage daemon and file daemon but with migration the director controls
everything and controls the at maximum two storage daemons.

Fixes 0000276: SD to SD replication makes SD crash
Affected Issues
0000276
mod - src/stored/dir_cmd.c Diff File
mod - src/stored/sd_cmds.c Diff File

master 9d2369eb

2014-02-11 00:08

Marco van Wieringen

Ported: N/A

Details Diff
Add first prototype for abstracting Gluster FS API.
mod - autoconf/configure.in Diff File
mod - src/stored/Makefile.in Diff File
add - src/stored/backends/gfapi_device.c Diff File
add - src/stored/backends/gfapi_device.h Diff File
mod - src/stored/dev.c Diff File
mod - src/stored/dev.h Diff File
mod - src/stored/stored_conf.c Diff File

master e499f12d

2014-02-11 00:08

Marco van Wieringen

Ported: N/A

Details Diff
Tweak layout and naming.

- Always use the virtual d_open method.
- Open system call is called with 2 or 3 arguments but they are named
path, oflag and mode so don't use mode for what is normally is
called oflag as that could be misinterpretted as being the mode
argument.
- Tweak layout of comments and use spaces around or-ed values for
readability.
- Abstract truncate function to device specific truncate function.
- Rename ST_APPEND to ST_APPENDREADY and ST_READ to ST_READREADY
to work around namespace collision of ST_APPEND in statvfs.h
on Linux.
- Move device abstraction into src/stored/backends
mod - src/stored/Makefile.in Diff File
mod - src/stored/acquire.c Diff File
mod - src/stored/askdir.c Diff File
add - src/stored/backends/unix_file_device.c Diff File
add - src/stored/backends/unix_file_device.h Diff File
mod - src/stored/btape.c Diff File
mod - src/stored/dev.c Diff File
mod - src/stored/dev.h Diff File
mod - src/stored/mount.c Diff File
mod - src/stored/reserve.c Diff File
mod - src/win32/stored/Makefile Diff File
add - src/win32/stored/backends/win32_file_device.c Diff File
rm - src/win32/stored/win32_file_device.c Diff File

master 5b0a367c

2014-02-10 23:08

mvwieringen

Ported: N/A

Details Diff
Add first prototype for abstracting Gluster FS API.
mod - autoconf/configure.in Diff File
mod - src/stored/Makefile.in Diff File
add - src/stored/backends/gfapi_device.c Diff File
add - src/stored/backends/gfapi_device.h Diff File
mod - src/stored/dev.c Diff File
mod - src/stored/dev.h Diff File
mod - src/stored/stored_conf.c Diff File

master c05f55d8

2014-02-10 23:08

mvwieringen

Ported: N/A

Details Diff
Tweak layout and naming.

- Always use the virtual d_open method.
- Open system call is called with 2 or 3 arguments but they are named
path, oflag and mode so don't use mode for what is normally is
called oflag as that could be misinterpretted as being the mode
argument.
- Tweak layout of comments and use spaces around or-ed values for
readability.
- Abstract truncate function to device specific truncate function.
- Rename ST_APPEND to ST_APPENDREADY and ST_READ to ST_READREADY
to work around namespace collision of ST_APPEND in statvfs.h
on Linux.
- Move device abstraction into src/stored/backends
mod - src/stored/Makefile.in Diff File
mod - src/stored/acquire.c Diff File
mod - src/stored/askdir.c Diff File
add - src/stored/backends/unix_file_device.c Diff File
add - src/stored/backends/unix_file_device.h Diff File
mod - src/stored/btape.c Diff File
mod - src/stored/dev.c Diff File
mod - src/stored/dev.h Diff File
mod - src/stored/mount.c Diff File
mod - src/stored/reserve.c Diff File
mod - src/win32/stored/Makefile Diff File
add - src/win32/stored/backends/win32_file_device.c Diff File
rm - src/win32/stored/win32_file_device.c Diff File

master 0349eb43

2014-02-10 18:19

Marco van Wieringen

Ported: N/A

Details Diff
Fix check of array value.
mod - src/stored/bsr.c Diff File

master 1c43405c

2014-02-10 18:17

Marco van Wieringen

Ported: N/A

Details Diff
Fix leaked file descriptor on error path.
mod - src/dird/fd_cmds.c Diff File

master 56f052d2

2014-02-10 18:14

Marco van Wieringen

Ported: N/A

Details Diff
Only free a vollist when we have one.
mod - src/dird/ua_label.c Diff File

master 35462969

2014-02-10 18:11

Marco van Wieringen

Ported: N/A

Details Diff
Protect all access to dcr->job_spool_size via dcr->dev->spool_mutex
mod - src/stored/spool.c Diff File

master 0a4fc0cc

2014-02-10 17:56

Marco van Wieringen

Ported: N/A

Details Diff
Fix typos.
mod - src/filed/restore.c Diff File
mod - src/stored/stored_conf.c Diff File

master 8cf63519

2014-02-10 17:47

Marco van Wieringen

Ported: N/A

Details Diff
Fix some missing break statements.
mod - src/cats/sql.c Diff File
mod - src/lib/crypto_openssl.c Diff File
mod - src/stored/status.c Diff File

master 9293821d

2014-02-10 17:37

Marco van Wieringen

Ported: N/A

Details Diff
Fix leaked dl_handle.
mod - src/cats/cats_dynamic.c Diff File

bareos-12.4 23fc102f

2014-02-10 17:19

mvwieringen

Ported: N/A

Details Diff
Fix check of array value.
mod - src/stored/bsr.c Diff File

bareos-13.2 41cbc9a4

2014-02-10 17:19

mvwieringen

Ported: N/A

Details Diff
Fix check of array value.
mod - src/stored/bsr.c Diff File

master 6738338a

2014-02-10 17:19

mvwieringen

Ported: N/A

Details Diff
Fix check of array value.
mod - src/stored/bsr.c Diff File

bareos-12.4 3cab7d25

2014-02-10 17:17

mvwieringen

Ported: N/A

Details Diff
Fix leaked file descriptor on error path.
mod - src/dird/fd_cmds.c Diff File

bareos-13.2 92bb7540

2014-02-10 17:17

mvwieringen

Ported: N/A

Details Diff
Fix leaked file descriptor on error path.
mod - src/dird/fd_cmds.c Diff File

master 27472600

2014-02-10 17:17

mvwieringen

Ported: N/A

Details Diff
Fix leaked file descriptor on error path.
mod - src/dird/fd_cmds.c Diff File

bareos-12.4 3c0033f5

2014-02-10 17:14

mvwieringen

Ported: N/A

Details Diff
Only free a vollist when we have one.
mod - src/dird/ua_label.c Diff File

bareos-13.2 9a3c151b

2014-02-10 17:14

mvwieringen

Ported: N/A

Details Diff
Only free a vollist when we have one.
mod - src/dird/ua_label.c Diff File

master c126912c

2014-02-10 17:14

mvwieringen

Ported: N/A

Details Diff
Only free a vollist when we have one.
mod - src/dird/ua_label.c Diff File
 First  Prev  1 2 3 ... 70 ... 140 ... 210 ... 280 ... 350 ... 420 ... 490 ... 560 ... 618 619 620 621 622 623 624 ... 630 ... 661 662 663  Next  Last