[SERVER-63127] Test rollback_during_step_up.js fails under suite ephemeralForTest Created: 30/Jan/22  Updated: 29/Oct/23  Resolved: 02/Feb/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.3.0

Type: Bug Priority: Major - P3
Reporter: Adi Zaimi Assignee: Adi Zaimi
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Replication 2022-02-07
Participants:
Linked BF Score: 55

 Description   

rollback_during_step_up.js fails under ephemeralForTest subsuite:
waiting for rollbackHangBeforeTransitioningToRollback failpoint from within RollbackImpl::_transitionToRollback.



 Comments   
Comment by Githook User [ 01/Feb/22 ]

Author:

{'name': 'Adi Zaimi', 'email': 'adizaimi@yahoo.com', 'username': 'adizaimi'}

Message: SERVER-63127 Disable running rollback_during_step_up.js for ephemeralForTest
Branch: master
https://github.com/mongodb/mongo/commit/b134aa91cb84a183489bfc4e39503837ab0154df

Comment by Adi Zaimi [ 01/Feb/22 ]

Fix is similar to SERVER-63097 where we should not run this test under ephemeral suite, by enforcing that transactions are supported.

Comment by Adi Zaimi [ 31/Jan/22 ]

When running the test normally, we get to this (https://github.com/10gen/mongo/pull/2570/files#diff-c2ac94869afff77ac707efbb275e96e618388cab9dd23806af6e60c466275c7aR318) point:
[js_test:rollback_during_step_up] d20020| {"t":

{"$date":"2022-01-31T15:57:21.855+00:00"}

,"s":"I", "c":"ROLLBACK", "id":21593, "ctx":"BackgroundSync","msg":"Transition to ROLLBACK"}

However when run with --storageEngine=ephemeralForTest we never get to that point. ephemeralForTest has several restrictions (# Transactions are not explicitly supported on the ephemeralForTest storage engine., lacking timestamp support) which make this test incompatible with that mode.

Generated at Thu Feb 08 05:56:57 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.