Issue 8803 - [PATCH] Add -L option for using external locking
Summary: [PATCH] Add -L option for using external locking
Status: UNCONFIRMED
Alias: None
Product: LMDB
Classification: Unclassified
Component: liblmdb (show other issues)
Version: unspecified
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-10 17:06 UTC by nirsof@gmail.com
Modified: 2020-03-23 17:33 UTC (History)
0 users

See Also:


Attachments
patch for to add locking (6.40 KB, patch)
2020-03-23 17:33 UTC, Quanah Gibson-Mount
Details

Note You need to log in before you can comment on or make changes to this issue.
Description nirsof@gmail.com 2018-02-10 17:06:09 UTC
Full_Name: Nir Soffer
Version: master
OS: Fedora 27
URL: https://github.com/nirs/lmdb/commit/e9ffc44797f9884590c480d0f160d8f745ee8ff9
Submission from: (NULL) (217.132.180.29)


A user may prefer to provide external locking using the MDB_NOLOCK when
using the lmdb library. To use the mdb_dump, mdb_load, and mdb_stat with
the same locking, we need an option to disable the library internal
locking when running these tools.

The attached patch file is derived from lmdb Software. All of the modifications
to lmdb represented in the following patch(es) were developed by Nir Soffer
nirsof@gmail.com. I have not assigned rights and/or interest in this work to any
party.

The attached modifications to OpenLDAP Software are subject to the following
notice:
Copyright 2018 Nir Soffer
Redistribution and use in source and binary forms, with or without modification,
are permitted only as authorized by the OpenLDAP Public License.

Comment 1 Quanah Gibson-Mount 2020-03-23 17:33:17 UTC
Created attachment 675 [details]
patch for to add locking