Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
backtrace: use space delimeter by default
Multiline backtrace is inherently dangerous in smp since it's easy for lines to get intermixed. It also doesn't make sense when the backtrace is printed as part of an exception. With this patch, test_exception_future_with_backtrace produces the following warning: ``` WARN 2021-01-21 14:32:05,060 [shard 0] seastar - Exceptional future ignored: seastar::internal::backtraced<expected_exception> (expected Backtrace: 0x5a2089 0x5a2362 0x5a26d9 0x490533 0x490624 0x45c5a6 0x45cb69 0x490673 0x43308c), backtrace: 0x5a2089 0x5a2362 0x5a26d9 0x4b4287 0x4b439c 0x434f62 0x4b43d1 0x45cc04 0x490673 0x43308c ``` While previously, the warning looked like this: ``` WARN 2021-01-21 14:34:17,271 [shard 0] seastar - Exceptional future ignored: seastar::internal::backtraced<expected_exception> (expected Backtrace: 0x5a209c 0x5a2386 0x5a26fd 0x490508 0x4905f4 0x45c676 0x45cc39 0x490643 0x43308c ), backtrace: 0x5a209c 0x5a2386 0x5a26fd 0x4b425c 0x4b437c 0x434f62 0x4b43b1 0x45ccd4 0x490643 0x43308c ``` Signed-off-by: Benny Halevy <bhalevy@scylladb.com>
- Loading branch information