Commit Graph

8134 Commits

Author SHA1 Message Date
Evan Tschannen 259e8ce69e
Merge pull request #4404 from sfc-gh-ajbeamon/fix-region-reporting
Fix bug where regions reported extra satellites
2021-03-12 10:49:17 -08:00
A.J. Beamon 07d89d3d40
Merge pull request #4437 from sfc-gh-etschannen/feature-fix-longest-time
Fixed an issue where storage servers shutdown because of unknown_error
2021-03-12 08:51:36 -08:00
Evan Tschannen abc931addf Merge branch 'release-6.2' into feature-fix-longest-time
# Conflicts:
#	documentation/sphinx/source/release-notes/release-notes-620.rst
2021-03-11 16:40:31 -08:00
Markus Pilman 5b11c4c6d8
Merge pull request #4428 from sfc-gh-satherton/file-backup-async-rename
File-based backup now uses async rename and larger writes
2021-03-10 14:23:10 -07:00
Evan Tschannen 70a35c4888 Merge branch 'release-6.2' into feature-fix-longest-time
# Conflicts:
#	fdbserver/storageserver.actor.cpp
2021-03-10 10:15:55 -08:00
Evan Tschannen 060885d9ad removed changes to downloads.rst applied clang format 2021-03-09 11:46:54 -08:00
A.J. Beamon 7535261184
Fix typo 2021-03-09 09:43:42 -08:00
Steve Atherton e9c9bd5299 Merge commit 'e2d3ddee2cb4da0bba65346d29ad2212fbce16f0' into file-backup-async-rename
# Conflicts:
#	fdbclient/BackupContainer.actor.cpp
#	fdbclient/FileBackupAgent.actor.cpp
#	fdbclient/Knobs.cpp
#	fdbrpc/AsyncFileNonDurable.actor.h
#	fdbrpc/sim2.actor.cpp
2021-03-08 02:00:40 -08:00
Steve Atherton 318b862aa3 Apply clang-format to backup changes. 2021-03-08 01:49:29 -08:00
Steve Atherton a397d8625f AsyncFileNonDurable now has a flag for whether or not to emulate AIO mode, so the previous behavior limits are preserved when this flag is set. AsyncFileDurable writes which are selected to be durable are again done in a single write, and the logic to handle non-aligned writes for non-AIO mode is more clear and commented. In simulation, backup files on local filesystems are written with random buffer sizes. Backup container unit test now uses more random file sizes and limits memory consumption for all files being written in parallel. 2021-03-07 22:21:10 -08:00
Steve Atherton 8a4aca3f47 Bug fix: In simulation only, RangeFileWriter was not waiting on a write future in one location. 2021-03-07 22:19:04 -08:00
Steve Atherton 1d00c41385 Bug fixes: Avoid empty writes, avoid 0 length truncation, and make AsyncFileNonDurable support writes at arbitrary offsets and lengths. Increase randomness of IBackupFile appends in backup container unit test. 2021-03-05 17:45:36 -08:00
Vishesh Yadav e2d3ddee2c
Merge pull request #4368 from ammolitor/clang_format_the_world/6.2
apply clang-format to *.c, *.cpp, *.h, *.hpp files
2021-03-05 15:47:11 -08:00
FDB Formatster 0c214d71da apply clang-format to *.c, *.cpp, *.h, *.hpp files 2021-03-05 16:31:35 -06:00
Evan Tschannen 940ea42c6e wrong use of the iterator 2021-03-05 10:37:49 -08:00
Evan Tschannen 8d88afec8a change to using find 2021-03-05 10:35:17 -08:00
Evan Tschannen 36c904b6f7 go back to using .at() because we are in a const function 2021-03-05 10:32:24 -08:00
Evan Tschannen 1d8977f3c2 another attempt to fix compile error 2021-03-05 10:25:44 -08:00
Evan Tschannen 980755b9cf fixed compile error 2021-03-05 10:22:16 -08:00
Evan Tschannen 2f625fd767 added more protection 2021-03-05 10:18:08 -08:00
Evan Tschannen 5988ac5487 updated documentation for 6.2.33 2021-03-05 10:12:24 -08:00
Evan Tschannen 75c2e1e2ea fix: if the time associated with newest fetchkeys is equal to now(), longestTime will throw an unknown error 2021-03-05 10:07:09 -08:00
Steve Atherton cd5341ceff Make release note more clear. 2021-03-03 22:26:43 -08:00
Steve Atherton b2f313774f Added release notes. 2021-03-03 22:24:00 -08:00
Steve Atherton 1025a0da37 File-based backup now uses async rename to prevent blocking the network thread in the event of slow filesystem metadata operations. Backup now opens its write-only files without a block cache so that writes to disk will be larger (1MB by default instead of 4k). 2021-03-03 21:45:33 -08:00
Steve Atherton 02e575e49b
Merge pull request #4418 from sfc-gh-mpilman/features/async-rename
Add async rename
2021-03-03 14:29:13 -08:00
Markus Pilman 08c98ec2a9 Unit test for rename function 2021-03-03 14:25:00 -07:00
Markus Pilman fd1a865737 fix botched include 2021-03-03 09:36:04 -07:00
Markus Pilman 7f758328c0 add renameFile to WinASIO 2021-03-03 09:35:19 -07:00
Markus Pilman 7cb529ddb3 address review comment 2021-03-02 17:34:30 -07:00
Markus Pilman a33bf68444 make sure rename code is actually called 2021-03-02 17:34:23 -07:00
Markus Pilman d2bd63d0cb fix includes 2021-03-02 17:05:27 -07:00
Markus Pilman cc47332478 Added an actor to allow for async file renames 2021-03-02 16:38:51 -07:00
A.J. Beamon cd19a9b61a Fix bug where regions reported extra satellites 2021-03-01 14:50:27 -08:00
Jingyu Zhou 98a8f3e308
Merge pull request #4300 from sfc-gh-anoyes/anoyes/iterator-fix
Fix comparison of iterators from different containers
2021-03-01 13:52:13 -08:00
Jingyu Zhou a1c77556c3
Merge pull request #4387 from sfc-gh-anoyes/anoyes/update-post-release
Update version following release
2021-03-01 13:42:36 -08:00
Andrew Noyes 519457cb7c Update version following release 2021-02-24 16:31:57 +00:00
Markus Pilman 764f76eac3
Merge pull request #4383 from sfc-gh-anoyes/anoyes/fix-for-debug-packages
Fix fdbrestore,dr_agent,fdbdr,backup_agent for FDB_RELEASE
2021-02-23 09:15:39 -07:00
Andrew Noyes 8b308ed2da Fix syntax 2021-02-23 04:50:39 +00:00
Andrew Noyes 0167a449f0 Fix fdbrestore,dr_agent,fdbdr,backup_agent for FDB_RELEASE 2021-02-23 03:05:29 +00:00
Markus Pilman 2ca173c4b9
Merge pull request #4380 from sfc-gh-anoyes/anoyes/no-relative-symlinks
Avoid using relative symlinks to work around cpack bug
2021-02-22 17:10:42 -07:00
Andrew Noyes 0caab02e53 update installer WIX GUID following release 2021-02-23 00:05:58 +00:00
Andrew Noyes 97d4a630fb Update version to 6.2.32 2021-02-22 23:51:37 +00:00
Andrew Noyes e6caa9463a Add release note 2021-02-22 23:48:01 +00:00
Andrew Noyes 56f1912900 Avoid using relative symlinks to work around cpack bug
https://discourse.cmake.org/t/installing-a-symlink-with-a-relative-path-for-rpm/895

closes #2681
2021-02-22 22:56:30 +00:00
A.J. Beamon 66df03703c
Merge pull request #4355 from sfc-gh-anoyes/anoyes/backport-memory-fix
Backport 5b74556733 to release-6.2
2021-02-18 11:52:03 -08:00
A.J. Beamon af77fae131 Fix bug in code I recently added where the process name memory was not long-lived and was later used. 2021-02-18 18:33:23 +00:00
A.J. Beamon 0158d4a966
Merge pull request #4343 from sfc-gh-anoyes/anoyes/backport-4285
Backport #4285 and 1513df22f3 to release-6.2
2021-02-17 09:29:56 -08:00
Andrew Noyes bcd9a00a50 Backport #4285 and 1513df22f3 to release-6.2
Fixes #4342
2021-02-17 00:35:25 +00:00
Markus Pilman 6b1b127ee1
Merge pull request #4331 from sfc-gh-anoyes/anoyes/std-exception
Log std::exception::what when creating an unknown_error
2021-02-13 12:34:24 -07:00