New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unit-PageTest regression due to commit 58445038 #2187
Comments
Thanks, @Aleaxander! Looking into this. |
For the record, it appears that the unittests don't work with a transaction limit of 1, but I'm not sure if that holds for the server. |
Just ran some tests on the server with The PageTest unittests appear to make some assumptions about cache throttling that are no longer true (assumptions that the rest of the code doesn't make), so I think the test needs to be updated. |
@Tryneus thanks for testing this. I will ignore that test for now. |
Confirm that these 3 tests cause hang: PageTest.BiggerTestTightMemory,PageTest.BiggerTestSuperTightMemory,PageTest.BiggerTestNoMemory I had to disable them in Linux Arch rethinkdb package. |
The PageTest assumes that its write transactions are not going to get throttled. I might add a flag to the page_txn_t constructor that lets it force-acquire the throttling semaphore (which would either (a) also cause preceding transactions to force-acquire the throttling semaphore, or (b) cause preceding transactions on the same cache_conn_t to force-acquire the throttling semaphore). Or, I might decouple the throttler from the page_cache_t a bit. |
Fixed in sam_2187 (branched off v1.12.x), awaiting code review 1384. I merely made the minimum unwritten changes limit be parameterizable. |
@srh, yes, it does work. |
In v1.12.x as of 83b85f0. |
Hi @Tryneus,
JFYI, my test framework caught a unit-PageTest regression due to commit 5844503(" moving transaction throttling limit changing logic into the throttler").
I'm sorry for the noisy if you are already aware of this.
Here is the test log:
The text was updated successfully, but these errors were encountered: