[CDRIVER-2667] mongoc-stat is not supported on your platform. Created: 28/May/18  Updated: 28/Oct/23  Resolved: 29/May/18

Status: Closed
Project: C Driver
Component/s: libmongoc
Affects Version/s: 1.10.0
Fix Version/s: 1.10.1

Type: Bug Priority: Major - P3
Reporter: Remi Collet Assignee: A. Jesse Jiryu Davis
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Fedora


Issue Links:
Problem/Incident
is caused by CDRIVER-2478 --disable-shm-counters should disable... Closed

 Description   

Despite built with -DENABLE_SHM_COUNTERS:BOOL=ON

 

ENABLE_SHM_COUNTERS:BOOL is defined in /usr/include/libmongoc-1.0/mongoc-config.h but this file is not properly included.

 



 Comments   
Comment by Githook User [ 29/May/18 ]

Author:

{'username': 'remicollet', 'name': 'Remi Collet', 'email': 'remi@remirepo.net'}

Message: CDRIVER-2667 include mongoc.h to have MONGOC_ENABLE_SHM_COUNTERS
Branch: r1.10
https://github.com/mongodb/mongo-c-driver/commit/b46a083433a426b0bbe326b5d99aecf41600a91e

Comment by Remi Collet [ 29/May/18 ]

> How did you catch this?

Simply running the command to ensure everything is ok with new 0.10 version, and new build system

Comment by A. Jesse Jiryu Davis [ 28/May/18 ]

Thanks Remi! How did you catch this?

Comment by Githook User [ 28/May/18 ]

Author:

{'username': 'remicollet', 'name': 'Remi Collet', 'email': 'remi@remirepo.net'}

Message: CDRIVER-2667 include mongoc.h to have MONGOC_ENABLE_SHM_COUNTERS
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/7058a34a86f9aebc2abb8b577a627c00e0b12150

Comment by Remi Collet [ 28/May/18 ]

Trivial fix in https://github.com/mongodb/mongo-c-driver/pull/498

Generated at Wed Feb 07 21:15:57 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.