Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Notice when we fail to write lock | Nalin Dahyabhai | 2013-08-07 | 1 | -6/+45 |
| | | | | | | When we fail to write-lock our cache, cancel our update attempt. We'll fall out of sync with the real data, but for now at least, that's better than completely hosing the cache by updating it without the lock. | ||||
* | Clean up logging a little bit | Nalin Dahyabhai | 2013-05-23 | 1 | -8/+10 |
| | |||||
* | check SLAPI_PLUGIN_OPRETURN values | Nalin Dahyabhai | 2013-04-04 | 1 | -0/+21 |
| | | | | | | Check for SLAPI_PLUGIN_OPRETURN values before we do anything, in case there's an error from the backend operation, where the server calls the postop plugins anyway. | ||||
* | don't skip changes that only affect map membership | Nalin Dahyabhai | 2013-04-04 | 1 | -11/+16 |
| | | | | | | When checking if we can skip processing for a given change, pay attention to whether or not the changes cause the entry to need to be added or removed from a map (#912673). | ||||
* | explicitly check for "no" values | Nalin Dahyabhai | 2012-11-14 | 1 | -1/+9 |
| | |||||
* | Overhaul betxn support | Nalin Dahyabhai | 2012-11-01 | 1 | -47/+147 |
| | | | | | | | | | * Check for BETXN support at build-time, provide options for disabling or requiring that it be available for build to succeed. * Track whether or not BETXN support is enabled in the plugin-local state. * Skip processing in post/internalpost callbacks if BETXN support is enabled. * Skip work in betxnpost callbacks if BETXN support is disabled. | ||||
* | make NIS Plugin and Schema Compatibility Plugin betxn aware | Noriko Hosoi | 2012-10-16 | 1 | -16/+31 |
| | | | | | | | | | | When NIS Plugin and Schema Compatibility Plugin config entries include nsslapd-pluginbetxn: on (the value could be yes, true or 1, too), the plugins' update callbacks (add, delete, modify, and modrdn) are called at the betxn pre/postop timing. By default, the value of nsslapd-pluginbetxn is off. (See also https://fedorahosted.org/389/ticket/351) | ||||
* | drop support for directory server transactions | Nalin Dahyabhai | 2012-06-13 | 1 | -157/+0 |
| | | | | | | | Transaction support the way we added it is an all-or-nothing proposition for a server installation, which turned out to be problematic, so 389 is going to pursue another strategy for that. The new way requires that we not register as a betxn plugin, ever. | ||||
* | - fix a leak | Nalin Dahyabhai | 2012-05-22 | 1 | -21/+39 |
| | | | | | We assumed that slapi_mods_add_smod() took ownership of the smod that we pass in, when it really just keeps the contents. | ||||
* | - remove unused variables | Nalin Dahyabhai | 2012-01-24 | 1 | -3/+3 |
| | |||||
* | - don't log a NULL there, either | Nalin Dahyabhai | 2012-01-24 | 1 | -2/+2 |
| | |||||
* | - avoid a possible NULL deref | Nalin Dahyabhai | 2012-01-23 | 1 | -8/+8 |
| | |||||
* | - don't lean so hard on slapi_entry_diff(), when if we do it ourselves, the ↵ | Nalin Dahyabhai | 2012-01-19 | 1 | -2/+184 |
| | | | | official mods list already narrows down the work needed to get the results we're interested in seeing | ||||
* | - if there are _no_ substantive changes, drop out of modify even earlier -- ↵ | Nalin Dahyabhai | 2012-01-17 | 1 | -3/+37 |
| | | | | this was causing tests to fail when even the modification time wasn't changing, and we later mistook the NULL array of mods to mean that we hadn't worked them out, which caused us to do the work unnecessarily | ||||
* | - computer our own mods list for modify operations, to not get suckered | Nalin Dahyabhai | 2012-01-17 | 1 | -12/+50 |
| | | | | | into doing completely unnecessary work for other plugins that modify an entry to give it the same contents that it already has | ||||
* | - use a better message when we're catching a modify on an entry that wasn't ↵ | Nalin Dahyabhai | 2012-01-17 | 1 | -0/+13 |
| | | | | before and won't be part of this map | ||||
* | - be a bit more aggressive about skipping unnecessary work | Nalin Dahyabhai | 2012-01-17 | 1 | -5/+1 |
| | |||||
* | - if the entry being touched is in an ldbm back-end, but there's no ↵ | Nalin Dahyabhai | 2012-01-16 | 1 | -0/+105 |
| | | | | transaction ID, just return, and have faith that we'll be called again in the transaction post | ||||
* | - use internal wrappers so that we can better know which callback we're | Nalin Dahyabhai | 2012-01-16 | 1 | -8/+48 |
| | | | | answering | ||||
* | - in callbacks, only use pblocks that are built from pblocks that we | Nalin Dahyabhai | 2012-01-16 | 1 | -39/+76 |
| | | | | | | already have, so that we can pass the transaction ID around; this includes additional parameters for a number of functions and a new callback data type for backend_set_config_entry_add_cb() | ||||
* | - avoid using pblocks for more than one internal operation - the server | Nalin Dahyabhai | 2012-01-11 | 1 | -14/+20 |
| | | | | | | allocates internal state each time but doesn't clean up any that's aready there if you reuse the block - correctly free values we use when constructing compat entries | ||||
* | - don't ever need to call slapi_free_search_results_internal() after ↵ | Nalin Dahyabhai | 2012-01-11 | 1 | -2/+0 |
| | | | | slapi_search_internal_callback_pb() | ||||
* | - have slapi_search_internal_get_entry() always set its result to NULL on ↵ | Nalin Dahyabhai | 2012-01-11 | 1 | -2/+1 |
| | | | | failure | ||||
* | - be more careful when logging the names of callback entries | Nalin Dahyabhai | 2012-01-10 | 1 | -6/+12 |
| | |||||
* | - add a testing option for toggling the skip-uninteresting-updates logic | Nalin Dahyabhai | 2012-01-10 | 1 | -2/+4 |
| | |||||
* | - change how we skip the be-txn-post hook so that it doesn't produce a ↵ | Nalin Dahyabhai | 2012-01-09 | 1 | -2/+0 |
| | | | | | | misleading debug message - set IPV6_V6ONLY to avoid logging an expected EADDRINUSE error | ||||
* | - most of what's needed to hook back-end txn postoperations, except for the ↵ | Nalin Dahyabhai | 2012-01-09 | 1 | -0/+34 |
| | | | | passing the TXN ID around, which means we deadlock if we actually do it | ||||
* | - Make a note of which attributes we read from any entry when evaluating ↵ | Nalin Dahyabhai | 2012-01-06 | 1 | -6/+145 |
| | | | | data, and when we're later called for a modify request which doesn't modify any of those attributes, skip recalculating the entry contents (should make a dent in #771493). | ||||
* | - use the NDN instead of the target DN as the map key | Nalin Dahyabhai | 2012-01-04 | 1 | -3/+3 |
| | |||||
* | - remove format_* functions that didn't need to be exported | Nalin Dahyabhai | 2011-07-26 | 1 | -10/+24 |
| | | | | | - make SDN lists/queues also have a sorted companion which we can use for presence testing | ||||
* | - don't assume that libc will provide yp headers -- build them ourselves | Nalin Dahyabhai | 2011-05-13 | 1 | -2/+2 |
| | |||||
* | - check that we have a complete definition before we try to read it (defect ↵ | Nalin Dahyabhai | 2011-01-03 | 1 | -2/+2 |
| | | | | #10107) | ||||
* | - allocate 'tmp' as an array of 'char *', and not 'char **' (defect #10112) | Nalin Dahyabhai | 2011-01-03 | 1 | -1/+1 |
| | |||||
* | - handle a group with no explicitly-named container by treating the | Nalin Dahyabhai | 2010-11-22 | 1 | -1/+1 |
| | | | | entries as direct subordinates of the group entry | ||||
* | - teach wrap_search_internal_get_entry to take an optional filter | Nalin Dahyabhai | 2010-11-22 | 1 | -2/+4 |
| | | | | | - where we were applying a filter test after retrieving an entry, just let the retrieval function do it | ||||
* | - try to factor deref_r and its corresponding update code into | Nalin Dahyabhai | 2010-11-22 | 1 | -3/+25 |
| | | | | optionally handling filters at each step of the way | ||||
* | - more logging | Nalin Dahyabhai | 2010-11-19 | 1 | -0/+24 |
| | |||||
* | - more debug logging | Nalin Dahyabhai | 2010-11-19 | 1 | -10/+18 |
| | |||||
* | - revert to registering plugins at init-time, which is what the docs | Nalin Dahyabhai | 2009-05-06 | 1 | -0/+16 |
| | | | | | | say we should do - use whether or not the plugin_base is initialized as in indicator of whether the plugin's been started or not | ||||
* | - fix type mismatch warnings | Nalin Dahyabhai | 2009-04-27 | 1 | -2/+2 |
| | |||||
* | - actually, entries in this map referring to other entries in the | Nalin Dahyabhai | 2008-12-03 | 1 | -9/+0 |
| | | | | same map deserve to be updated, too | ||||
* | - add some comments for later | Nalin Dahyabhai | 2008-12-03 | 1 | -2/+6 |
| | |||||
* | - fix a logic error when determining if an entry which contains an | Nalin Dahyabhai | 2008-12-03 | 1 | -4/+5 |
| | | | | attrribute used in %referred() needs other things to be updated | ||||
* | - add backend_shr_internal_postop_init(), move internal postop | Nalin Dahyabhai | 2008-12-03 | 1 | -17/+33 |
| | | | | registration to it, let callback registration return error codes | ||||
* | - hook our postop callbacks onto internal changes, too | Nalin Dahyabhai | 2008-12-03 | 1 | -0/+20 |
| | |||||
* | - use a counter to make sure we don't recurse inside the same thread, | Nalin Dahyabhai | 2008-12-02 | 1 | -0/+36 |
| | | | | | which might cause us to try to take a read lock when we're holding the write lock, or vice-versa | ||||
* | - drop some unused variables | Nalin Dahyabhai | 2008-11-04 | 1 | -1/+1 |
| | |||||
* | - move config.h into src/ | Nalin Dahyabhai | 2008-10-24 | 1 | -1/+1 |
| | |||||
* | - rename formatting functions: | Nalin Dahyabhai | 2008-10-24 | 1 | -2/+2 |
| | | | | | | derefx -> deref_r referredx -> referred_r - add a simple test for referred_r | ||||
* | - add referredx, as derefx | Nalin Dahyabhai | 2008-10-24 | 1 | -4/+183 |
| |