Compare commits

..

2 Commits

Author SHA1 Message Date
7e82573ed0 Fix RDMA connection leak which was preventing stable functioning of RDMA :)
All checks were successful
Test / test_minsize_1 (push) Successful in 14s
Test / test_snapshot_ec (push) Successful in 38s
Test / test_rm (push) Successful in 16s
Test / test_move_reappear (push) Successful in 19s
Test / test_snapshot_down (push) Successful in 30s
Test / test_snapshot_down_ec (push) Successful in 31s
Test / test_splitbrain (push) Successful in 22s
Test / test_snapshot_chain (push) Successful in 2m19s
Test / test_snapshot_chain_ec (push) Successful in 3m0s
Test / test_rebalance_verify_imm (push) Successful in 2m45s
Test / test_rebalance_verify (push) Successful in 3m36s
Test / test_write (push) Successful in 37s
Test / test_write_no_same (push) Successful in 15s
Test / test_write_xor (push) Successful in 53s
Test / test_rebalance_verify_ec (push) Successful in 4m54s
Test / test_rebalance_verify_ec_imm (push) Successful in 4m8s
Test / test_heal_pg_size_2 (push) Successful in 4m5s
Test / test_heal_ec (push) Successful in 4m48s
Test / test_heal_csum_32k_dj (push) Successful in 5m25s
Test / test_heal_csum_32k_dmj (push) Successful in 5m29s
Test / test_heal_csum_32k (push) Successful in 6m22s
Test / test_scrub (push) Successful in 1m7s
Test / test_heal_csum_4k_dmj (push) Successful in 6m39s
Test / test_scrub_zero_osd_2 (push) Successful in 1m9s
Test / test_scrub_xor (push) Successful in 47s
Test / test_scrub_pg_size_6_pg_minsize_4_osd_count_6_ec (push) Successful in 1m3s
Test / test_heal_csum_4k_dj (push) Successful in 6m12s
Test / test_heal_csum_4k (push) Successful in 6m11s
Test / test_scrub_pg_size_3 (push) Successful in 1m29s
Test / test_scrub_ec (push) Successful in 33s
2023-11-11 23:40:47 +03:00
12a6bed2d5 Return the new accidentally rolled back json11 commit ("allow trailing comma")
Some checks failed
Test / test_snapshot_ec (push) Successful in 28s
Test / test_move_reappear (push) Successful in 19s
Test / test_interrupted_rebalance_ec (push) Successful in 1m51s
Test / test_rm (push) Successful in 18s
Test / test_snapshot_down (push) Successful in 30s
Test / test_snapshot_down_ec (push) Successful in 31s
Test / test_splitbrain (push) Successful in 24s
Test / test_snapshot_chain (push) Successful in 2m22s
Test / test_rebalance_verify_imm (push) Successful in 3m4s
Test / test_rebalance_verify (push) Successful in 3m48s
Test / test_write (push) Successful in 39s
Test / test_write_no_same (push) Successful in 12s
Test / test_rebalance_verify_ec_imm (push) Successful in 3m14s
Test / test_rebalance_verify_ec (push) Successful in 4m2s
Test / test_heal_pg_size_2 (push) Successful in 3m44s
Test / test_heal_csum_32k_dmj (push) Successful in 4m43s
Test / test_heal_ec (push) Successful in 6m47s
Test / test_heal_csum_32k_dj (push) Successful in 5m57s
Test / test_heal_csum_32k (push) Successful in 6m11s
Test / test_scrub (push) Successful in 1m10s
Test / test_scrub_zero_osd_2 (push) Successful in 1m17s
Test / test_heal_csum_4k_dmj (push) Successful in 6m19s
Test / test_scrub_pg_size_6_pg_minsize_4_osd_count_6_ec (push) Successful in 1m10s
Test / test_scrub_pg_size_3 (push) Successful in 1m47s
Test / test_heal_csum_4k_dj (push) Successful in 6m3s
Test / test_heal_csum_4k (push) Successful in 6m3s
Test / test_scrub_ec (push) Successful in 28s
Test / test_scrub_xor (push) Successful in 23s
Test / test_snapshot_chain_ec (push) Successful in 2m25s
Test / test_write_xor (push) Failing after 3m6s
2023-11-07 15:49:23 +03:00
3 changed files with 18 additions and 3 deletions

2
json11

Submodule json11 updated: 52a3af664f...fd37016cf8

View File

@@ -490,7 +490,14 @@ void osd_messenger_t::check_peer_config(osd_client_t *cl)
fprintf(stderr, "Connected to OSD %lu using RDMA\n", cl->osd_num);
}
cl->peer_state = PEER_RDMA;
tfd->set_fd_handler(cl->peer_fd, false, NULL);
tfd->set_fd_handler(cl->peer_fd, false, [this](int peer_fd, int epoll_events)
{
// Do not miss the disconnection!
if (epoll_events & EPOLLRDHUP)
{
handle_peer_epoll(peer_fd, epoll_events);
}
});
// Add the initial receive request
try_recv_rdma(cl);
}

View File

@@ -3,6 +3,7 @@
#define _XOPEN_SOURCE
#include <limits.h>
#include <sys/epoll.h>
#include "messenger.h"
@@ -283,7 +284,14 @@ void osd_messenger_t::handle_send(int result, osd_client_t *cl)
fprintf(stderr, "Successfully connected with client %d using RDMA\n", cl->peer_fd);
}
cl->peer_state = PEER_RDMA;
tfd->set_fd_handler(cl->peer_fd, false, NULL);
tfd->set_fd_handler(cl->peer_fd, false, [this](int peer_fd, int epoll_events)
{
// Do not miss the disconnection!
if (epoll_events & EPOLLRDHUP)
{
handle_peer_epoll(peer_fd, epoll_events);
}
});
// Add the initial receive request
try_recv_rdma(cl);
}