I am currently using the MongoDB Java Driver and as part of transaction support, I wanted to see if someone can abort a transaction till a savepoint? At the moment, it appears that the entire transaction aborts/rollbacks.
As far as I know, there are no save points in MongoDB transactions
You are both correct. The MongoDB server (as at 4.2) does not have support for savepoints or nested transactions, so the only execution outcomes are commit or abort of all operations in a transaction.
You could raise this as a feature suggestion the MongoDB Feedback site for others to upvote and watch.