Hi @prashant_sinha welcome to the community!
What’s your MongoDB version, and what’s the replica set topology? I believe a similar-looking issue was fixed in SERVER-40535. If you’re not using the latest version in the MongoDB series you’re using (4.2.23. 4.4.17, 5.0.13, or 6.0.2), please try to upgrade and see if the issue persists.
If you’re not using one of the supported series (e.g. 3.6 or older), then I would suggest to upgrade to a supported version, since unsupported versions will not get any more updates/fixes.