{"push_id":979272230,"size":3,"distinct_size":3,"ref":"refs/heads/master","head":"aa23208406086938322e38d7d8e57e737411c649","before":"bfb0a7130996e8313996fa91887e3c799fd8889b","commits":[{"sha":"c20d26097da0a2375cfdf0d4cd3d5dc5a8ea53c2","author":{"email":"5b6f5bb8c48333808ed72246428f3dc778928cb4@scylladb.com","name":"Tomasz Grabiec"},"message":"core: reactor: Fix use-after-free during reactor shutdown\n\nCurrenlty only reactor at shard 0 waits for other reactors to finish\nprocessing before exiting. It may happen that non-main reactor exits\nwhile there are still some tasks attempted to be submitted to it. This\nresult in use-after-free on remote->_sleeping in\nsmp_message_queue::lf_queue::maybe_wakeup()\n\nFix by ensuring that reactor threads exit when all reactors stopped\nprocessing their tasks.","distinct":true,"url":"https://api.github.com/repos/scylladb/seastar/commits/c20d26097da0a2375cfdf0d4cd3d5dc5a8ea53c2"},{"sha":"84edce69e7842ee50d8241d5b5d303e4ff1dc9ef","author":{"email":"5b6f5bb8c48333808ed72246428f3dc778928cb4@scylladb.com","name":"Tomasz Grabiec"},"message":"core: reactor: Fail fast when at_exit() is called after shutdown is initiated\n\nSee scylladb/scylla#868\n\nInserting the hook after exit hook firing has started may cause\n_exit_funcs vector to be resized which invalidates the iterators and\ntriggering undefined behavior.\n\nWe don't expect exit hooks to be registered after exit starts because\nthis would violate the guarantee which says that exit hooks are\nexecuted in reverse order of registration. Starting exit sequence in\nthe middle of initialization sequence would result in use after free\nerrors.\n\nInstead of undefined behavior, assert that shutdown is not in\nprogress.","distinct":true,"url":"https://api.github.com/repos/scylladb/seastar/commits/84edce69e7842ee50d8241d5b5d303e4ff1dc9ef"},{"sha":"aa23208406086938322e38d7d8e57e737411c649","author":{"email":"8f920f22884d6fea9df883843c4a8095a2e5ac6f@scylladb.com","name":"Avi Kivity"},"message":"Merge \"Fix undefined behaviors related to reactor shutdown\" from Tomasz","distinct":true,"url":"https://api.github.com/repos/scylladb/seastar/commits/aa23208406086938322e38d7d8e57e737411c649"}]}