CVS log for servers/slapd/back-bdb/dbcache.c

[BACK] Up to [OpenLDAP] / servers / slapd / back-bdb

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN
Current tag: MAIN


Revision 1.55: download - view: text, markup - select for diffs
Tue Jan 4 23:43:18 2011 UTC (10 years, 9 months ago) by kurt
Branches: MAIN
CVS tags: MIGRATION_CVS2GIT, HEAD
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +2 -2 lines
Happy New Year

Revision 1.54: download - view: text, markup - select for diffs
Tue Apr 13 20:18:11 2010 UTC (11 years, 6 months ago) by kurt
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +2 -2 lines
happy belated New Year

Revision 1.53: download - view: text, markup - select for diffs
Wed Jan 21 23:40:31 2009 UTC (12 years, 8 months ago) by kurt
Branches: MAIN
CVS tags: ACLCHECK_0, ACLCHECK
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +2 -2 lines
Update copyright notices

Revision 1.52: download - view: text, markup - select for diffs
Wed Oct 15 08:45:31 2008 UTC (13 years ago) by hyc
Branches: MAIN
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +4 -4 lines
BDB_PAGESIZE not used any more, use BDB/FS default instead

Revision 1.51: download - view: text, markup - select for diffs
Wed Oct 15 06:13:56 2008 UTC (13 years ago) by hyc
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +14 -1 lines
Add checksum keyword to enable DB checksum validation

Revision 1.50: download - view: text, markup - select for diffs
Wed Oct 15 05:41:57 2008 UTC (13 years ago) by hyc
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +29 -2 lines
Add dbpagesize keyword for configuring DB file page sizes

Revision 1.49: download - view: text, markup - select for diffs
Mon Jan 7 23:20:10 2008 UTC (13 years, 9 months ago) by kurt
Branches: MAIN
CVS tags: LOCKER_IDS
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +2 -2 lines
Happy New Year (belated)

Revision 1.48: download - view: text, markup - select for diffs
Sat Dec 15 18:07:41 2007 UTC (13 years, 10 months ago) by hyc
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +15 -1 lines
Support DB encryption

Revision 1.47: download - view: text, markup - select for diffs
Fri Nov 23 11:47:53 2007 UTC (13 years, 10 months ago) by ando
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +2 -2 lines
silence warnings

Revision 1.46: download - view: text, markup - select for diffs
Sun Nov 18 19:50:20 2007 UTC (13 years, 11 months ago) by hyc
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +8 -7 lines
ITS#5183 preliminary fix - this whole approach needs re-design

Revision 1.45: download - view: text, markup - select for diffs
Fri May 18 12:48:28 2007 UTC (14 years, 5 months ago) by hallvard
Branches: MAIN
CVS tags: OPENLDAP_REL_ENG_2_4_MP
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +2 -2 lines
printf format paranoia: macros could be changed to contain format chars

Revision 1.44: download - view: text, markup - select for diffs
Tue Jan 2 19:01:07 2007 UTC (14 years, 9 months ago) by kurt
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +2 -2 lines
happy new year

Revision 1.43: download - view: text, markup - select for diffs
Tue Jan 3 22:12:17 2006 UTC (15 years, 9 months ago) by kurt
Branches: MAIN
CVS tags: OPENLDAP_REL_ENG_2_4_BP, OPENLDAP_REL_ENG_2_4_3ALPHA, OPENLDAP_REL_ENG_2_4_2ALPHA, OPENLDAP_REL_ENG_2_4_1ALPHA, OPENLDAP_REL_ENG_2_4_0ALPHA, OPENLDAP_REL_ENG_2_3_MP
Branch point for: OPENLDAP_REL_ENG_2_4
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +2 -2 lines
Happy new year!

Revision 1.42: download - view: text, markup - select for diffs
Thu Apr 21 17:46:47 2005 UTC (16 years, 6 months ago) by hyc
Branches: MAIN
CVS tags: OPENLDAP_REL_ENG_2_2_MP, OPENLDAP_AC_MP, OPENLDAP_AC_BP, OPENLDAP_AC
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +6 -1 lines
Fix typo, add Truncate support

Revision 1.41: download - view: text, markup - select for diffs
Mon Jan 24 00:37:38 2005 UTC (16 years, 8 months ago) by hyc
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +8 -4 lines
Omit transaction support when running with SLAP_TOOL_QUICK

Revision 1.40: download - view: text, markup - select for diffs
Tue Jan 11 21:38:39 2005 UTC (16 years, 9 months ago) by hyc
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +1 -4 lines
Clean up unused bt_compare references

Revision 1.39: download - view: text, markup - select for diffs
Sat Jan 1 19:49:51 2005 UTC (16 years, 9 months ago) by kurt
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +2 -2 lines
Happy New Year!

Revision 1.38: download - view: text, markup - select for diffs
Mon Dec 6 06:28:47 2004 UTC (16 years, 10 months ago) by hyc
Branches: MAIN
CVS tags: OPENLDAP_REL_ENG_2_3_BP, OPENLDAP_REL_ENG_2_3_0ALPHA
Branch point for: OPENLDAP_REL_ENG_2_3
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +3 -1 lines
Store entryIDs in big-endian order, no more custom sort function.
back-hdb still needs work.

Revision 1.37: download - view: text, markup - select for diffs
Sat Sep 4 02:54:31 2004 UTC (17 years, 1 month ago) by kurt
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +1 -13 lines
unifdef -UNEW_LOGGING

Revision 1.36: download - view: text, markup - select for diffs
Sat Mar 6 18:15:39 2004 UTC (17 years, 7 months ago) by hyc
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +1 -0 lines
Revert to original code

Revision 1.35: download - view: text, markup - select for diffs
Sat Mar 6 11:41:29 2004 UTC (17 years, 7 months ago) by hyc
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +1 -2 lines
Store IDs in BeigEndian format on disk

Revision 1.34: download - view: text, markup - select for diffs
Wed Jan 28 04:00:56 2004 UTC (17 years, 8 months ago) by hyc
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +9 -2 lines
Use Btree instead of Hash for indexing

Revision 1.33: download - view: text, markup - select for diffs
Thu Jan 1 18:15:32 2004 UTC (17 years, 9 months ago) by kurt
Branches: MAIN
CVS tags: OPENLDAP_REL_ENG_2_1_MP
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +2 -2 lines
Happy new year

Revision 1.32: download - view: text, markup - select for diffs
Fri Nov 28 20:08:20 2003 UTC (17 years, 10 months ago) by kurt
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +13 -4 lines
Notices

Revision 1.31: download - view: text, markup - select for diffs
Wed Sep 24 22:27:22 2003 UTC (18 years ago) by hyc
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +9 -30 lines
Revert to previous behavior:
  always use DB_AUTO_COMMIT when opening a database, don't make it
  dependent on an in-progress transaction

  use mutex instead of DB lock for db access.

Revision 1.30: download - view: text, markup - select for diffs
Thu Jun 12 07:20:04 2003 UTC (18 years, 4 months ago) by hallvard
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +8 -4 lines
Revert previous patch: Bad time for it.

Revision 1.29: download - view: text, markup - select for diffs
Thu Jun 5 09:55:27 2003 UTC (18 years, 4 months ago) by hallvard
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +4 -8 lines
Fix bdb_db_hash() to handle padding bits in integers.

Revision 1.28: download - view: text, markup - select for diffs
Thu Apr 17 03:15:12 2003 UTC (18 years, 6 months ago) by hyc
Branches: MAIN
CVS tags: OPENLDAP_REL_ENG_2_2_BP, OPENLDAP_REL_ENG_2_2_0ALPHA
Branch point for: OPENLDAP_REL_ENG_2_2
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +3 -3 lines
Fix prev commit

Revision 1.27: download - view: text, markup - select for diffs
Thu Apr 17 02:55:39 2003 UTC (18 years, 6 months ago) by hyc
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +3 -4 lines
Fix database search loop conditions

Revision 1.26: download - view: text, markup - select for diffs
Sat Mar 29 04:15:48 2003 UTC (18 years, 6 months ago) by hyc
Branches: MAIN
CVS tags: NO_SLAP_OP_BLOCKS
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +24 -7 lines
Deleted bi_database_mutex, use DB_LOCK instead. Changed bdb_locker_id to
lookup the threadctx if no Op * is provided. (bdb_db_cache doesn't know
its thread context when it acquires a locker ID.)

Revision 1.25: download - view: text, markup - select for diffs
Thu Mar 27 03:30:05 2003 UTC (18 years, 6 months ago) by hyc
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +2 -2 lines
Don't use subdatabases for indexes. This patch is an incompatible change,
must destroy existing indexes and run slapindex to regenerate.

Revision 1.24: download - view: text, markup - select for diffs
Sat Mar 22 15:21:44 2003 UTC (18 years, 7 months ago) by hyc
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +5 -2 lines
Still need DB_AUTO_COMMIT flag

Revision 1.23: download - view: text, markup - select for diffs
Mon Mar 17 23:04:16 2003 UTC (18 years, 7 months ago) by hyc
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +3 -2 lines
Don't use DB_AUTO_COMMIT when opening a database

Revision 1.22: download - view: text, markup - select for diffs
Fri Jan 3 19:20:56 2003 UTC (18 years, 9 months ago) by kurt
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +2 -2 lines
Happy new year

Revision 1.21: download - view: text, markup - select for diffs
Tue Sep 10 02:20:45 2002 UTC (19 years, 1 month ago) by hyc
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +1 -3 lines
Unifdef BDB_IDL_MULTI.

Revision 1.20: download - view: text, markup - select for diffs
Thu Aug 22 02:39:59 2002 UTC (19 years, 2 months ago) by hyc
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +4 -1 lines
OS/390 EBCDIC support

Revision 1.19: download - view: text, markup - select for diffs
Thu Aug 22 02:01:42 2002 UTC (19 years, 2 months ago) by hyc
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +2 -2 lines
Added support for BDB 4.1.17

Revision 1.18: download - view: text, markup - select for diffs
Thu Jul 11 18:33:30 2002 UTC (19 years, 3 months ago) by julius
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +7 -3 lines

Coverted LDAP_LOG macro to use subsystem ID int values instead of string values

Revision 1.17: download - view: text, markup - select for diffs
Fri Apr 5 03:59:04 2002 UTC (19 years, 6 months ago) by hyc
Branches: MAIN
CVS tags: OPENLDAP_REL_ENG_2_MP
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +13 -7 lines
ITS#1726, always use bdb_db_hash().

Revision 1.16: download - view: text, markup - select for diffs
Tue Mar 26 17:01:58 2002 UTC (19 years, 6 months ago) by julius
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +9 -1 lines

Added LDAP_LOG messages

Revision 1.15: download - view: text, markup - select for diffs
Fri Jan 4 20:17:49 2002 UTC (19 years, 9 months ago) by kurt
Branches: MAIN
CVS tags: OPENLDAP_REL_ENG_2_1_BP, OPENLDAP_REL_ENG_2_1_ALPHA0
Branch point for: OPENLDAP_REL_ENG_2_1
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +2 -2 lines
Update copyright statements

Revision 1.14: download - view: text, markup - select for diffs
Tue Dec 18 03:41:40 2001 UTC (19 years, 10 months ago) by hyc
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +2 -1 lines
BDB_MULTI still needs the dupsort function.

Revision 1.13: download - view: text, markup - select for diffs
Sun Dec 16 13:21:47 2001 UTC (19 years, 10 months ago) by hyc
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +21 -1 lines
Use a 4-byte constant for the presence index key. Set the index db hash
function to simply pass thru the key value, which is already a hash value.

Revision 1.12: download - view: text, markup - select for diffs
Sat Dec 15 22:21:37 2001 UTC (19 years, 10 months ago) by hyc
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -3 lines
Use DB_HASH instead of DB_BTREE for index databases. Since index keys are
mainly 4-byte hashes already, there is no locality-of-reference to exploit
as a Btree. About a 7% performance gain.

Revision 1.11: download - view: text, markup - select for diffs
Sat Dec 15 22:00:46 2001 UTC (19 years, 10 months ago) by hyc
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +2 -3 lines
Revert previous checkin, DB_NODUPDATA is not valid on db->set_flags().
It must be specified on individual put() operations (and already is).

Revision 1.10: download - view: text, markup - select for diffs
Sat Dec 8 03:30:23 2001 UTC (19 years, 10 months ago) by kurt
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +3 -2 lines
Disallow duplicate duplicate data

Revision 1.9: download - view: text, markup - select for diffs
Fri Dec 7 11:38:25 2001 UTC (19 years, 10 months ago) by hyc
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +2 -2 lines
Some fixes for BDB_IDL_MULTI. Experimental back-hdb code.

Revision 1.8: download - view: text, markup - select for diffs
Thu Dec 6 12:20:18 2001 UTC (19 years, 10 months ago) by hyc
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +5 -1 lines
Experimental index management. Uncomment BDB_IDL_MULTI in back-bdb.h
to activate. Needs to check limits in bdb_idl_insert_key, will get to
that later.

Revision 1.7: download - view: text, markup - select for diffs
Thu Dec 6 02:24:09 2001 UTC (19 years, 10 months ago) by hyc
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -1 lines
Fix, index databases were not being closed on shutdown.

Revision 1.6: download - view: text, markup - select for diffs
Wed Nov 28 19:48:06 2001 UTC (19 years, 10 months ago) by hyc
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +3 -1 lines
Renamed BDB_ID2ENTRY_PAGESIZE to just BDB_PAGESIZE; set it on each database
instead of just the id2entry db. It helps. I also found that tweaking the
environment (set_lg_bsize 2MB; set_cachesize 2MB) helps but those can be
taken care of in a DB_CONFIG file. Tweaked the bdb_bt_compare function; it
really only needs to be set on little-endian machines. (On big-endian machines
a lexical sort gives the same result as an integer sort.) Moved the final
checkpoint back to the dbenv_close, I think this leaves a cleaner log file.

Revision 1.5: download - view: text, markup - select for diffs
Wed Nov 28 02:11:04 2001 UTC (19 years, 10 months ago) by hyc
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -2 lines
Added experimental support for DB_DIRTY_READ.

Revision 1.4: download - view: text, markup - select for diffs
Tue Nov 27 02:41:03 2001 UTC (19 years, 10 months ago) by kurt
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +3 -3 lines
Misc code cleanup

Revision 1.3: download - view: text, markup - select for diffs
Fri Oct 5 18:12:17 2001 UTC (20 years ago) by kurt
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +18 -2 lines
BDB_INDEX code does no harm (but no good yet, not used by filters yet).

Revision 1.2: download - view: text, markup - select for diffs
Fri Oct 5 15:00:21 2001 UTC (20 years ago) by kurt
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +55 -3 lines
Another round.  BDB_INDEX almost ready for functional testing.

Revision 1.1: download - view: text, markup - select for diffs
Thu Oct 4 20:29:34 2001 UTC (20 years ago) by kurt
Branches: MAIN
Add some initial BDB_INDEX code... needs much work.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

______________
© Copyright 1998-2020, OpenLDAP Foundation, info@OpenLDAP.org