Fixing Mongoose Transaction Error

Închis Postat la acum 6 luni S-au achitat serviciile după ce au fost prestate
Închis S-au achitat serviciile după ce au fost prestate

I'm looking for someone that can help fixing transaction error bug with mongoose


I'm trying to do some atomic operations using mongoose transactions.

the transaction fails giving the next error

"MongoServerError: Given transaction number X does not match any in-progress transactions. The active transaction number is X-1"

Failed attempts to solve the problem:

1- close the connection after the logic finishes (as we may have consecutive middlewares that needs atomic operations)

2- retry opening a new transaction multiple times upon failure

Node.js NoSQL Couch și Mongo Arhitectură software MongoDB

ID Proiect: #36232249

Detalii despre proiect

4 propuneri Proiect la distanță Activ acum 5 luni

4 freelanceri plasează o ofertă medie de 28$ pentru proiect


Hello Sir! Thank you for your job posting! I read your job description carefully and I have confident to do it. Now I don't have enough reviews, but I am not backyard coder. I think, I can prove my ability for you! I Mai multe

%bids___i_sum_sub_35%%project_currencyDetails_sign_sub_36% USD în 7 zile
(3 recenzii)

Hello, I have more than seven years of experience in the office and more than three years of freelance experience in the required area of work and would like to help you with this task. Thanks for posting in my area of Mai multe

%bids___i_sum_sub_35%%project_currencyDetails_sign_sub_36% USD în 999 zile
(1 părere)

Hi, Expertise in NoSQL Performance tuning and Database Servers in Production system Can we discuss further and tune your problem . Please DM for further reference and discussion

%bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD în 1 zi
(1 părere)

To help fix the Mongoose transaction error, try the following solutions: Ensure that you're using the latest version of Mongoose and MongoDB drivers, as they may have fixed similar issues in recent releases. Make sure Mai multe

%bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD în 1 zi
(0 recenzii)