Hi,
If the submitWholeTopic config is enabled in gerrit.config and we submit any one of the changes in that topic, then the whole topic gets merged.
Snippet from the above link:
Changes that will also be submitted:
2. All dependent changes.
3. The closure of the above (e.g if a dependent change has a topic, all changes of that topic will also be submitted).
Maybe this might help?
Thanks,
Ishan.