[SERVER-78566] Propagate metadata after SBE execution Created: 29/Jun/23  Updated: 29/Oct/23  Resolved: 02/Oct/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.2.0-rc0

Type: New Feature Priority: Major - P3
Reporter: Zixuan Zhuang Assignee: Zixuan Zhuang
Resolution: Fixed Votes: 0
Labels: auto-reverted
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Problem/Incident
Related
is related to SERVER-80816 Do not produce search metadata if it ... Closed
Assigned Teams:
Query Execution
Backwards Compatibility: Fully Compatible
Sprint: QE 2023-09-04, QE 2023-09-18, QE 2023-10-02, QE 2023-10-16
Participants:
Linked BF Score: 151

 Description   

PlanStageSlots:

{kResult: output_doc, kMetadataSearchScore: searchScore_metadata}

Merge "output_doc" and metadata ("searchScore_metadata") into Document for other stages.

If on DocumentSource stage follows, we need to determine whether to put the metadata to the final output or not. This should follows the current logic.



 Comments   
Comment by Githook User [ 30/Sep/23 ]

Author:

{'name': 'zixuan zhuang', 'email': 'zixuan.zhuang@mongodb.com', 'username': 'leozzx'}

Message: SERVER-78566 Propagate metadata after SBE execution
Branch: master
https://github.com/mongodb/mongo/commit/a82e4d44f24d5707320eb6f36297a532305f605b

Comment by xgen-buildbaron-user [ 29/Sep/23 ]

Ticket re-opened due to revert. noPassthrough began a consistent failure of jstests/noPassthrough/cqf_fallback.js,jstests/noPassthrough/query_engine_stats.js

Comment by Githook User [ 29/Sep/23 ]

Author:

{'name': 'auto-revert-processor', 'email': 'dev-prod-dag@mongodb.com', 'username': ''}

Message: Revert "SERVER-78566 Propagate metadata after SBE execution"

This reverts commit b7d9e71176cc8368ded4a73291b6c1250e74bfcb.
Branch: master
https://github.com/mongodb/mongo/commit/2e5e311ed0f1b583ce90ed72a200ed30cd4e5cb5

Comment by Githook User [ 29/Sep/23 ]

Author:

{'name': 'zixuan zhuang', 'email': 'zixuan.zhuang@mongodb.com', 'username': 'leozzx'}

Message: SERVER-78566 Propagate metadata after SBE execution
Branch: master
https://github.com/mongodb/mongo/commit/b7d9e71176cc8368ded4a73291b6c1250e74bfcb

Generated at Thu Feb 08 06:38:40 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.