Changesets: bareos
master b3437eee 2016-01-11 22:37 Marco van Wieringen Ported: N/A Details Diff |
socket: Introduce MaximumConnections for filed and stored. When refactoring the socket_server code for the director we added a new config option named MaximumConnections which is used to size the listen backlog. This patch introduces something similar for the filed and stored so we always size the backlog in a proper way according to the wanted concurrency. We now check in accepting a connection in the filed or stored if we already reached the wanted concurrency and then just disconnect the session. Fixes 0000593: Problem with a job on a passive client and limited Maximum Concurrent Jobs |
Affected Issues 0000593 |
|
mod - src/filed/dir_cmd.c | Diff File | ||
mod - src/filed/filed.c | Diff File | ||
mod - src/filed/filed_conf.c | Diff File | ||
mod - src/filed/filed_conf.h | Diff File | ||
mod - src/filed/socket_server.c | Diff File | ||
mod - src/stored/dir_cmd.c | Diff File | ||
mod - src/stored/ndmp_tape.c | Diff File | ||
mod - src/stored/socket_server.c | Diff File | ||
mod - src/stored/stored.c | Diff File | ||
mod - src/stored/stored_conf.c | Diff File | ||
mod - src/stored/stored_conf.h | Diff File | ||
master 01b7ae3e 2016-01-11 18:43 Marco van Wieringen Ported: N/A Details Diff |
Merge branch 'bareos-15.2' | ||
mod - module/Client/config/module.config.php | Diff File | ||
master 75332f9e 2016-01-11 18:39 Robert Smit Committer: Marco van Wieringen Ported: N/A Details Diff |
Fix routing for clients. Allow also dots in client names for the Client routing. Fixes 0000595: Clients view in Webui doesn't work when there are dots in the client names Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com> |
||
mod - module/Client/config/module.config.php | Diff File | ||
bareos-15.2 b39e4f81 2016-01-11 16:36 Ported: N/A Details Diff |
ndmp: Fix calculation of ta->mover_state.record_num Amanda has changed this calculation as they seem to have run into some problem with tape writing. So lets import this change. We currently probably don't run into this problem as we only emulate one big tape but if we add support for real NDMP storage we might also be bitten by it. |
||
mod - src/ndmp/ndma_tape.c | Diff File | ||
bareos-15.2 f0c3783a 2016-01-11 16:36 Ported: N/A Details Diff |
ndmp: Fix DiskToDiskToTape support for NDMP. We need to map the paired read storage of a NDMP backup to point to the actual real storage before we start the migration or copy as otherwise the Job tries to use the original storage of the NDMP Job and that is a storage of the NDMP type which will trigger the assert in the code that checks if the storage has the right password encoding. We now check in the routines the actual JobType e.g. backup means write storage anything else means read storage (e.g. restore, migration, copy) We always try setting up paired read storage when we encounter NDMP storage its not a backup Job. The has_paired_storage() function can now also be used to determine if a Job has all NDMP paired storage so we know in the copy/migrate code we need to setup paired storage. We can call free_paired_storage() always as it checks if any paired storage was setup using set_paired_storage(). |
||
mod - src/dird/job.c | Diff File | ||
mod - src/dird/migrate.c | Diff File | ||
bareos-15.2 94cd79d4 2016-01-11 16:36 Committer: mvwieringen Ported: N/A Details Diff |
ndmp: When migrating/copying, also migrate/copy the file metadata For NDMP Jobs part of the metadata is stored by the Director so when we copy that Job using the normal way the Storage Daemon will only see the actual NDMP datastream and not the additional metadata that is normally exchanged via the FHDB interface of NDMP. So for a migrate we need to update that additional metadata to belong to the new Job and for a copy we need to duplicate that data. Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com> |
||
mod - src/dird/migrate.c | Diff File | ||
bareos-15.2 9dd99898 2016-01-11 16:15 Committer: mvwieringen Ported: N/A Details Diff |
win32: Extra quote bsmtp call on windows Fixes 0000581: Installer is setting up a wrong path to bmail.exe without quotes / bmail not called |
Affected Issues 0000581 |
|
mod - platforms/win32/fillup.sed | Diff File | ||
bareos-14.2 da8a368a 2016-01-11 16:15 Committer: joergs Ported: N/A Details Diff |
win32: Extra quote bsmtp call on windows Fixes 0000581: Installer is setting up a wrong path to bmail.exe without quotes / bmail not called |
Affected Issues 0000581 |
|
mod - platforms/win32/fillup.sed | Diff File | ||
master dcb8c812 2016-01-11 12:49 Joerg Steffens Ported: N/A Details Diff |
Makefile: better handling of subdirectories | ||
mod - Makefile | Diff File | ||
mod - manuals/en/developers/Makefile | Diff File | ||
mod - manuals/en/main/Makefile | Diff File | ||
master 6fbad04b 2016-01-11 12:48 Joerg Steffens Ported: N/A Details Diff |
cleanup block size references | ||
mod - manuals/en/main/autochangers.tex | Diff File | ||
mod - manuals/en/main/bareos-sd-resource-device-definitions.tex | Diff File | ||
mod - manuals/en/main/bareos.sty | Diff File | ||
mod - manuals/en/main/director-resource-pool-definitions.tex | Diff File | ||
master 2fd2273c 2016-01-09 11:18 Ported: N/A Details Diff |
Merge branch 'bareos-15.2' | ||
mod - debian/bareos-database-common.config.in | Diff File | ||
mod - debian/bareos-database-common.postinst.in | Diff File | ||
mod - platforms/systemd/bareos-dir.service.in | Diff File | ||
master a14f284b 2016-01-08 19:51 Ported: N/A Details Diff |
Merge branch 'master' of ssh://localhost:29418/bareos/bareos | ||
mod - debian/bareos-director.bareos-dir.init.in | Diff File | ||
mod - debian/bareos-director.postinst.in | Diff File | ||
mod - debian/bareos-filedaemon.bareos-fd.init.in | Diff File | ||
mod - debian/bareos-filedaemon.postinst.in | Diff File | ||
mod - debian/bareos-storage.bareos-sd.init.in | Diff File | ||
mod - debian/bareos-storage.postinst.in | Diff File | ||
mod - scripts/bareos-config-lib.sh.in | Diff File | ||
mod - src/dird/dird_conf.c | Diff File | ||
mod - src/lib/unittests/sellist_test.c | Diff File | ||
master e12646df 2016-01-08 19:24 Ported: N/A Details Diff |
fix CamelCase typo: MaximumBlockSize | ||
mod - src/dird/dird_conf.c | Diff File | ||
master e10a47bb 2016-01-08 18:26 Ported: N/A Details Diff |
Merge branch 'bareos-15.2' | ||
mod - platforms/win32/winbareos-nsi.spec | Diff File | ||
mod - platforms/win32/winbareos32.spec | Diff File | ||
mod - platforms/win32/winbareos64.spec | Diff File | ||
master 5dcfdac7 2016-01-08 18:12 Ported: N/A Details Diff |
Merge branch 'fix-format-sellist' of https://github.com/evgeni/bareos | ||
mod - src/lib/unittests/sellist_test.c | Diff File | ||
master d00377c2 2016-01-08 18:11 Ported: N/A Details Diff |
Merge branch 'fix-bashisms' of https://github.com/evgeni/bareos | ||
mod - debian/bareos-director.bareos-dir.init.in | Diff File | ||
mod - debian/bareos-director.postinst.in | Diff File | ||
mod - debian/bareos-filedaemon.bareos-fd.init.in | Diff File | ||
mod - debian/bareos-filedaemon.postinst.in | Diff File | ||
mod - debian/bareos-storage.bareos-sd.init.in | Diff File | ||
mod - debian/bareos-storage.postinst.in | Diff File | ||
mod - scripts/bareos-config-lib.sh.in | Diff File | ||
master 363610ef 2016-01-08 17:57 Joerg Steffens Ported: N/A Details Diff |
cleanup Allow Duplicate Jobs | ||
mod - manuals/en/main/director-resource-job-definitions.tex | Diff File | ||
master 954a9065 2016-01-08 17:38 Joerg Steffens Ported: N/A Details Diff |
cleanup mysql python plugin description | ||
mod - manuals/en/main/bareos.sty | Diff File | ||
mod - manuals/en/main/howto.tex | Diff File | ||
master 6a45e26e 2016-01-08 16:47 Committer: mvwieringen Ported: N/A Details Diff |
win32: Do signing only in winbareos-nsi package | ||
mod - platforms/win32/winbareos-nsi.spec | Diff File | ||
mod - platforms/win32/winbareos32.spec | Diff File | ||
mod - platforms/win32/winbareos64.spec | Diff File | ||
master 966d6b83 2016-01-07 16:46 Ported: N/A Details Diff |
win32: Fixes for POOLMEM ** to POOLMEM *& Master uses POOLMEM *& while 15.2 still uses POOLMEM ** |
||
mod - src/win32/plugins/filed/mssqlvdi-fd.c | Diff File | ||
master 7f1fdd60 2016-01-07 16:45 Ported: N/A Details Diff |
Merge branch 'bareos-15.2' | ||
mod - AUTHORS | Diff File | ||
mod - src/cats/sql_create.c | Diff File | ||
mod - src/dird/dird_conf.c | Diff File | ||
mod - src/win32/plugins/filed/mssqlvdi-fd.c | Diff File | ||
master 3c5810f9 2016-01-06 17:29 Committer: mvwieringen Ported: N/A Details Diff |
bscan: Fix crash when filesettext is null Fixes 0000573: rsync tape between bareos server |
Affected Issues 0000573 |
|
mod - src/cats/sql_create.c | Diff File | ||
master 9a3d85f2 2016-01-06 16:50 Marco van Wieringen Ported: N/A Details Diff |
dird: Remove fixed size reload table. The current reload logic is really to complex and to limited for any piece of software in 2016. This patch makes things seriously less complex and also removes all kind of limitations. From a design standpoint its certainly not an endpoint it would be better if we would either have proper reference counting to the resources so we actually know what is still referenced by any running Job on reload or that we before calling job_end_push() try updating the dangling pointers in the JCR to the old config to point to the new config and only call job_end_push() when we are referencing resources that are no longer available in the new config. If we succeed in updating all pointers we are not referencing the old structures anymore and if we succeed in doing that for all JCRs we can drop the old config and don't need to keep it lingering around anymore. For now this changes the following: - Use proper structure to store the callback function and context and not push two items on the cleanup stack. - We use a set of two simple local variables that contain the previous config and eventually a failed config, only when we are having any Jobs running we do the hard work of allocating a more permanent structure and pushing the cleanup routine and used context for a later cleanup when the actual Job finishes. So when there is nothing running the code path is rather straight forward. |
||
mod - src/dird/dird.c | Diff File | ||
mod - src/include/jcr.h | Diff File | ||
mod - src/lib/jcr.c | Diff File | ||
master a4884e20 2016-01-06 16:13 Ported: N/A Details Diff |
dird: Fix pretty printer to output Yes and No and not yes and no | ||
mod - src/dird/dird_conf.c | Diff File | ||
bareos-14.2 fab6eade 2016-01-06 16:13 Ported: N/A Details Diff |
dird: Fix pretty printer to output Yes and No and not yes and no | ||
mod - src/dird/dird_conf.c | Diff File |