Where is the wiredtiger.h's source code?

109 views
Skip to first unread message

xingh...@gmail.com

unread,
Aug 30, 2016, 12:44:17 AM8/30/16
to mongodb-user
I download the mongodb source code, but not found the wiredtiger.h,where is this file?

Aditya Talaviya

unread,
Aug 30, 2016, 9:43:24 AM8/30/16
to mongod...@googlegroups.com
Mr/Mrs xinghebuluo i am giving u the file path where generally the wiredtiger.h store either u download incorrect source code download it from another site and check it once.

PATH:  mongo/src/mongo/db/storage/wireditger/wiredtiger_recovery_unit.h

Regards'
ADITYA TALAVIYA

On Tue, Aug 30, 2016 at 9:14 AM, <xingh...@gmail.com> wrote:
I download the mongodb source code, but not found the wiredtiger.h,where is this file?

--
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.
 
For other MongoDB technical support options, see: https://docs.mongodb.com/manual/support/
---
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-user+unsubscribe@googlegroups.com.
To post to this group, send email to mongod...@googlegroups.com.
Visit this group at https://groups.google.com/group/mongodb-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/cebac403-0ad2-4e15-990d-e1be3ce1a6ba%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Gavin Liu

unread,
Aug 30, 2016, 9:48:35 PM8/30/16
to mongodb-user
Thanks for your reply. 
In the header of the wiredtiger_recovery_unit.h:
#pragma once

#include <wiredtiger.h>

#include <memory.h>

#include "mongo/base/owned_pointer_vector.h"
#include "mongo/db/operation_context.h"
#include "mongo/db/record_id.h"
#include "mongo/db/storage/recovery_unit.h"
#include "mongo/db/storage/snapshot_name.h"
#include "mongo/util/concurrency/ticketholder.h"
#include "mongo/util/timer.h"

I cann't found the  "#include <wiredtiger.h>", in line 33(mongodb source code version 3.2.9).
I have not found the define of WT_CURSOR, 
can you help me? thanks again.

在 2016年8月30日星期二 UTC+8下午9:43:24,ADITYA PATEL写道:
Mr/Mrs xinghebuluo i am giving u the file path where generally the wiredtiger.h store either u download incorrect source code download it from another site and check it once.

PATH:  mongo/src/mongo/db/storage/wireditger/wiredtiger_recovery_unit.h

Regards'
ADITYA TALAVIYA
On Tue, Aug 30, 2016 at 9:14 AM, <xingh...@gmail.com> wrote:
I download the mongodb source code, but not found the wiredtiger.h,where is this file?

--
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.
 
For other MongoDB technical support options, see: https://docs.mongodb.com/manual/support/
---
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-user...@googlegroups.com.

Aditya Talaviya

unread,
Aug 31, 2016, 3:19:14 AM8/31/16
to mongod...@googlegroups.com
hi,
  I understand your query i have suggested one more solution that can help you  ,Maybe  you have downloaded the corrupted code so that you have this query download from the different site and can you check .

Regards
ADITYA PATEL

To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-user+unsubscribe@googlegroups.com.

To post to this group, send email to mongod...@googlegroups.com.
Visit this group at https://groups.google.com/group/mongodb-user.

Gavin Liu

unread,
Sep 1, 2016, 3:17:58 AM9/1/16
to mongodb-user
I download the source code from www.mongodb.org.
The path you given me is : mongo/src/mongo/db/storage/wireditger/wiredtiger_recovery_unit.h.
In the folder "mongo/src/mongo/db/storage/wireditger/" I cann't find the wiredtiger.h, 
Can you find the wiredtiger.h in this folder ?



在 2016年8月31日星期三 UTC+8下午3:19:14,ADITYA PATEL写道:

Gavin Liu

unread,
Sep 1, 2016, 9:51:21 PM9/1/16
to mongodb-user
Thanks again.
I found the file in the include folder(mongo/src/mongo/db/storage/wireditger/), and the file name is wiredtiger.in.

在 2016年8月31日星期三 UTC+8下午3:19:14,ADITYA PATEL写道:
hi,
Regards
ADITYA PATEL

Kevin Adistambha

unread,
Sep 1, 2016, 10:07:57 PM9/1/16
to mongodb-user

Hi Gavin,

I found the file in the include folder(mongo/src/mongo/db/storage/wireditger/), and the file name is wiredtiger.in.

The wiredtiger.h file is built automatically as part of the build process (from wiredtiger.in). If you follow the process in the Build Mongodb From Source page, you should have the wiredtiger.h file generated for you. It is not recommended to modify the wiredtiger.in file manually.

Could you elaborate on what you are trying to do?

Best regards,
Kevin

Reply all
Reply to author
Forward
0 new messages