-
Notifications
You must be signed in to change notification settings - Fork 579
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
assertion error in rptest.tests.topic_recovery_test.TopicRecoveryTest.test_fast2 #4601
Comments
From the log:
It appears that there is outstanding work on fiber6. The gates look fine. The implementation is of
When the ntp_archiver is added: ss::future<> scheduler_service_impl::add_ntp_archiver(
ss::lw_shared_ptr<ntp_archiver> archiver) {
vassert(
!_archivers.contains(archiver->get_ntp()),
"archiver for ntp {} already added!",
archiver->get_ntp());
if (_gate.is_closed()) {
return ss::now();
}
return archiver->download_manifest().then(
[this, archiver](cloud_storage::download_result result) {
auto ntp = archiver->get_ntp();
switch (result) {
case cloud_storage::download_result::success:
vlog(
_rtclog.info,
"Found manifest for partition {}",
archiver->get_ntp());
_probe.start_archiving_ntp();
_archivers.emplace(archiver->get_ntp(), archiver);
archiver->run_upload_loop(); A download is performed before being added to It looks like during shutdown, if an archiver has just been started, and is currently downloading, then it will not have |
If an ntp_archiver is added, and then the service is stopped prior to completion of manifest download, the ntp_archiver will not be, stopped, and its gate not waited on. Fix that by always adding the arhiver to _archivers. Fix redpanda-data#4601 Signed-off-by: Ben Pope <ben@redpanda.com>
If an `ntp_archiver` is added, and the service is stopped prior to completion of manifest download, the `ntp_archiver` will not be, stopped, and its gate not waited on. Fix that by always adding the `ntp_archiver` to `_archivers`. Fix redpanda-data#4601 Signed-off-by: Ben Pope <ben@redpanda.com>
If an `ntp_archiver` is added, and the service is stopped prior to completion of manifest download, the `ntp_archiver` will not be, stopped, and its gate not waited on. Fix that by always adding the `ntp_archiver` to `_archivers`. Fix redpanda-data#4601 Signed-off-by: Ben Pope <ben@redpanda.com>
If an `ntp_archiver` is added, and the service is stopped prior to completion of manifest download, the `ntp_archiver` will not be, stopped, and its gate not waited on. Fix that by always adding the `ntp_archiver` to `_archivers`. Fix redpanda-data#4601 Signed-off-by: Ben Pope <ben@redpanda.com>
If an `ntp_archiver` is added, and the service is stopped prior to completion of manifest download, the `ntp_archiver` will not be, stopped, and its gate not waited on. Fix that by always adding the `ntp_archiver` to `_archivers`. Fix redpanda-data#4601 Signed-off-by: Ben Pope <ben@redpanda.com> (cherry picked from commit f10c42c)
If an `ntp_archiver` is added, and the service is stopped prior to completion of manifest download, the `ntp_archiver` will not be, stopped, and its gate not waited on. Fix that by always adding the `ntp_archiver` to `_archivers`. Fix redpanda-data#4601 Signed-off-by: Ben Pope <ben@redpanda.com> (cherry picked from commit f10c42c)
https://buildkite.com/redpanda/redpanda/builds/9821#83e28000-1277-4baa-bc41-a5b30be75e1a/1527-7522
seen during #4404
The text was updated successfully, but these errors were encountered: