[SERVER-30779] Investigate performance degradation in Causal Consistency enabled benchmark Created: 22/Aug/17  Updated: 30/Oct/23  Resolved: 16/Nov/17

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 3.6.0-rc5, 3.7.1

Type: Task Priority: Major - P3
Reporter: Misha Tyulenev Assignee: Misha Tyulenev
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
is depended on by SERVER-30026 Perf test causal consistency Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v3.6
Sprint: Sharding 2017-10-02, Sharding 2017-10-23, Sharding 2017-11-13, Sharding 2017-12-04
Participants:

 Description   

Investigate why causal consistency run shows the 6% and 10% drops in insert_vector_primary and insert_vector_secondary_overall tests

https://evergreen.mongodb.com/task/sys_perf_linux_3_node_replSet_core_workloads_WT_patch_583127818f1ead21b67a57eb117b9678232e5472_59974e03e3c33104980009e9_17_08_18_20_29_25#/%257B%2522perftab%2522%253A1%252C%2522compare%2522%253A%255B%257B%2522hash%2522%253A%2522583127818f1ead21b67a57eb117b9678232e5472%2522%257D%255D%257D

It should not cause degradation on w:1 inserts as those are not expected to wait. However the degradation can be explained because shell adds afterClusterTime concern to all commands including insert.
https://github.com/10gen/workloads/blob/c76a618683ee93029d0515457968400c23111c5a/workloads/insert_vector.js#L142 is lint to the wait on secondaries.



 Comments   
Comment by Githook User [ 16/Nov/17 ]

Author:

{'name': 'Misha Tyulenev', 'username': 'mikety', 'email': 'misha@mongodb.com'}

Message: SERVER-30779 do not sign clusterTime in mongos when auth is off or user has advanceClusterTime privilege

(cherry picked from commit ad803634c69671ec7c43b0ca78edd30ad22b4e63)
Branch: v3.6
https://github.com/mongodb/mongo/commit/e82f61c0ea6678520f7731857c20051ad6c99ce4

Comment by Misha Tyulenev [ 16/Nov/17 ]

The performance is affected in part by mongos signing all the requests even when auth is off or when user is __system (or any user with advanceClusterTime privilege) . This is addressed by the commit.

Comment by Githook User [ 16/Nov/17 ]

Author:

{'name': 'Misha Tyulenev', 'username': 'mikety', 'email': 'misha@mongodb.com'}

Message: SERVER-30779 do not sign clusterTime in mongos when auth is off or user has advanceClusterTime privilege
Branch: master
https://github.com/mongodb/mongo/commit/ad803634c69671ec7c43b0ca78edd30ad22b4e63

Generated at Thu Feb 08 04:24:59 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.