Leo Yuriev 
							
						 
					 
					
						
						
							
						
						d5b0e68326 
					 
					
						
						
							
							mdbx: fix merge/rebase error (remove mm_txnid field).  
						
						
						
						
					 
					
						2017-05-29 20:44:17 +03:00 
						 
				 
			
				
					
						
							
							
								Leo Yuriev 
							
						 
					 
					
						
						
							
						
						a36b065cd9 
					 
					
						
						
							
							mdbx: logging MDBX_PROBLEM reasons.  
						
						
						
						
					 
					
						2017-05-29 20:17:02 +03:00 
						 
				 
			
				
					
						
							
							
								Leo Yuriev 
							
						 
					 
					
						
						
							
						
						11e8727483 
					 
					
						
						
							
							mdbx: fix missing braces.  
						
						
						
						
					 
					
						2017-05-29 20:16:09 +03:00 
						 
				 
			
				
					
						
							
							
								Leo Yuriev 
							
						 
					 
					
						
						
							
						
						70fe982c3a 
					 
					
						
						
							
							mdbx: fix MDBX_WANNA_RECOVERY description.  
						
						
						
						
					 
					
						2017-05-29 19:38:43 +03:00 
						 
				 
			
				
					
						
							
							
								Leo Yuriev 
							
						 
					 
					
						
						
							
						
						d91785f635 
					 
					
						
						
							
							mdbx: disable unnecessary assertion in mdbx_is_dirty().  
						
						
						
						
					 
					
						2017-05-29 19:38:43 +03:00 
						 
				 
			
				
					
						
							
							
								Leo Yuriev 
							
						 
					 
					
						
						
							
						
						0f676db491 
					 
					
						
						
							
							mdbx: add locking while open/close/drop dbi-handles (avoid dbi-related races).  
						
						... 
						
						
						
						This avoid races and collisions between threads when opening,
closing and deleting DBI-handles.
unfortunately, this does not resolve collision in the case an one thread
closing the DBI-handle while the another thread performs transaction.
Change-Id: I48c3ffb11a8f83739fae1712db3476645f573e09 
						
						
					 
					
						2017-05-29 19:38:43 +03:00 
						 
				 
			
				
					
						
							
							
								Leo Yuriev 
							
						 
					 
					
						
						
							
						
						bd5d092a2b 
					 
					
						
						
							
							mdbx: check system pagesize (paranoia).  
						
						... 
						
						
						
						Change-Id: I596c686a996f7d1521789f22900022c4da629e1b 
						
						
					 
					
						2017-05-28 18:55:18 +03:00 
						 
				 
			
				
					
						
							
							
								Leo Yuriev 
							
						 
					 
					
						
						
							
						
						a0ddf167dd 
					 
					
						
						
							
							mdbx: common database format for 32/64 targets (remove 'size_t' structures).  
						
						... 
						
						
						
						Change-Id: I2d7c77603ee27c5ae4b82f762a726f71136527c8 
						
						
					 
					
						2017-05-28 18:35:58 +03:00 
						 
				 
			
				
					
						
							
							
								Leo Yuriev 
							
						 
					 
					
						
						
							
						
						fca74ab80c 
					 
					
						
						
							
							mdbx: refine meta-commit in WRITEMAP mode.  
						
						... 
						
						
						
						Change-Id: Ieb53bf6144a104fc88b0b07b4abdde20f4b01978 
						
						
					 
					
						2017-05-28 18:35:58 +03:00 
						 
				 
			
				
					
						
							
							
								Leo Yuriev 
							
						 
					 
					
						
						
							
						
						2347282b4f 
					 
					
						
						
							
							mdbx: add assertions for reclaiming-edge.  
						
						... 
						
						
						
						Change-Id: I87e11f69423b4e7841c4f8ec6b5ecfdff9e96b0d 
						
						
					 
					
						2017-05-28 17:06:04 +03:00 
						 
				 
			
				
					
						
							
							
								Leo Yuriev 
							
						 
					 
					
						
						
							
						
						236ddda1ae 
					 
					
						
						
							
							mdbx: more assertions for mdbx_txn_renew0().  
						
						... 
						
						
						
						Change-Id: I3c179d105c3e6388c08b2c371ada4d457af50bed 
						
						
					 
					
						2017-05-28 17:06:04 +03:00 
						 
				 
			
				
					
						
							
							
								Leo Yuriev 
							
						 
					 
					
						
						
							
						
						2ea97ae281 
					 
					
						
						
							
							mdbx: refine find_oldest() and meta_head().  
						
						
						
						
					 
					
						2017-05-28 17:06:04 +03:00 
						 
				 
			
				
					
						
							
							
								Leo Yuriev 
							
						 
					 
					
						
						
							
						
						91bc3129d5 
					 
					
						
						
							
							mdbx: refine mdbx_page_search().  
						
						... 
						
						
						
						Change-Id: I9c87ae2ffe317538813ebec971ad093936f4c504 
						
						
					 
					
						2017-05-28 17:06:04 +03:00 
						 
				 
			
				
					
						
							
							
								Leo Yuriev 
							
						 
					 
					
						
						
							
						
						f945e8a062 
					 
					
						
						
							
							mdbx: fix cache-aligned size for MDBX_reader.  
						
						... 
						
						
						
						Change-Id: I1e48dd279106daa629fbcd427ec841828799c8f6 
						
						
					 
					
						2017-05-28 17:06:04 +03:00 
						 
				 
			
				
					
						
							
							
								Leo Yuriev 
							
						 
					 
					
						
						
							
						
						bb5e1b43af 
					 
					
						
						
							
							mdbx: relax mdbx_is_dirrty() assertion for map-range.  
						
						
						
						
					 
					
						2017-05-28 17:06:04 +03:00 
						 
				 
			
				
					
						
							
							
								Leo Yuriev 
							
						 
					 
					
						
						
							
						
						17c8057684 
					 
					
						
						
							
							mdbx: fix gcc 'uninitialized' warning with -Og.  
						
						
						
						
					 
					
						2017-05-28 17:06:04 +03:00 
						 
				 
			
				
					
						
							
							
								Leo Yuriev 
							
						 
					 
					
						
						
							
						
						77f0e5e38e 
					 
					
						
						
							
							mdbx: drop unused debug features.  
						
						
						
						
					 
					
						2017-05-28 17:06:04 +03:00 
						 
				 
			
				
					
						
							
							
								Leo Yuriev 
							
						 
					 
					
						
						
							
						
						60fed8bbca 
					 
					
						
						
							
							mdbx: fix first-rdonly-blocker bug.  
						
						
						
						
					 
					
						2017-05-28 17:06:04 +03:00 
						 
				 
			
				
					
						
							
							
								Leo Yuriev 
							
						 
					 
					
						
						
							
						
						5c3691eff1 
					 
					
						
						
							
							mdbx: split atomics for 32/64 uints.  
						
						
						
						
					 
					
						2017-05-28 17:06:04 +03:00 
						 
				 
			
				
					
						
							
							
								Leo Yuriev 
							
						 
					 
					
						
						
							
						
						76f459c08e 
					 
					
						
						
							
							mdbx: two-phase txnid to avoid bottom-top DMA updates.  
						
						
						
						
					 
					
						2017-05-28 17:06:04 +03:00 
						 
				 
			
				
					
						
							
							
								Leo Yuriev 
							
						 
					 
					
						
						
							
						
						dd33bea1d8 
					 
					
						
						
							
							tools: mdbx_chk - don't 'rolled-back' in cooperative more.  
						
						
						
						
					 
					
						2017-05-28 17:02:19 +03:00 
						 
				 
			
				
					
						
							
							
								Leo Yuriev 
							
						 
					 
					
						
						
							
						
						bd70135db1 
					 
					
						
						
							
							mdbx: re-read and check meta-pages in mdbx_read_header() for consistency.  
						
						
						
						
					 
					
						2017-05-28 17:02:19 +03:00 
						 
				 
			
				
					
						
							
							
								Leo Yuriev 
							
						 
					 
					
						
						
							
						
						93c5a84bcd 
					 
					
						
						
							
							mdbx: more checks mdbx_read_header() for metapage's content.  
						
						
						
						
					 
					
						2017-05-28 17:02:19 +03:00 
						 
				 
			
				
					
						
							
							
								Leo Yuriev 
							
						 
					 
					
						
						
							
						
						1c170cb866 
					 
					
						
						
							
							mdbx: add MAX_PAGENO, MIN_PAGENO, MAX_MAPSIZE, MIN_MAPSIZE.  
						
						
						
						
					 
					
						2017-05-28 17:02:19 +03:00 
						 
				 
			
				
					
						
							
							
								Leo Yuriev 
							
						 
					 
					
						
						
							
						
						18cf804d0b 
					 
					
						
						
							
							mdbx: add STATIC_ASSERT_MSG, refine STATIC_ASSERT.  
						
						
						
						
					 
					
						2017-05-28 17:02:19 +03:00 
						 
				 
			
				
					
						
							
							
								Leo Yuriev 
							
						 
					 
					
						
						
							
						
						4293840055 
					 
					
						
						
							
							mdbx: fix meta-invalidate race in MDBX_WRITEMAP mode (when target == head).  
						
						
						
						
					 
					
						2017-05-28 17:02:19 +03:00 
						 
				 
			
				
					
						
							
							
								Leo Yuriev 
							
						 
					 
					
						
						
							
						
						f4d3b76f81 
					 
					
						
						
							
							mdbx: minor refine and rename mdbx_sync_locked().  
						
						... 
						
						
						
						Change-Id: Iab650b091006e5646d9d22316d19aa58a517684b 
						
						
					 
					
						2017-05-28 17:02:19 +03:00 
						 
				 
			
				
					
						
							
							
								Leo Yuriev 
							
						 
					 
					
						
						
							
						
						9959fe8711 
					 
					
						
						
							
							mdbx: reorder fields in metapages.  
						
						
						
						
					 
					
						2017-05-28 17:02:19 +03:00 
						 
				 
			
				
					
						
							
							
								Leo Yuriev 
							
						 
					 
					
						
						
							
						
						c02a3ac687 
					 
					
						
						
							
							mdbx: ignore meta-pages with wrong pagesize.  
						
						
						
						
					 
					
						2017-05-28 17:02:19 +03:00 
						 
				 
			
				
					
						
							
							
								Leo Yuriev 
							
						 
					 
					
						
						
							
						
						0e49b1b2b4 
					 
					
						
						
							
							mdbx: update 'mapsize' while opening with txn-increment.  
						
						
						
						
					 
					
						2017-05-28 17:02:19 +03:00 
						 
				 
			
				
					
						
							
							
								Leo Yuriev 
							
						 
					 
					
						
						
							
						
						d642127d10 
					 
					
						
						
							
							tools: fix 'tail' show in mdbx_chk.  
						
						
						
						
					 
					
						2017-05-28 17:02:19 +03:00 
						 
				 
			
				
					
						
							
							
								Leo Yuriev 
							
						 
					 
					
						
						
							
						
						5d836d2b03 
					 
					
						
						
							
							mdbx: clarify steady/fluid/weak names of a head.  
						
						
						
						
					 
					
						2017-05-28 17:02:19 +03:00 
						 
				 
			
				
					
						
							
							
								Leo Yuriev 
							
						 
					 
					
						
						
							
						
						1e0654a4a8 
					 
					
						
						
							
							tool: show operational txnid in mdbx_chk.  
						
						
						
						
					 
					
						2017-05-28 17:02:19 +03:00 
						 
				 
			
				
					
						
							
							
								Leo Yuriev 
							
						 
					 
					
						
						
							
						
						47cc45dec4 
					 
					
						
						
							
							mdbx: don't check present durability mode for MDBX_RDONLY.  
						
						
						
						
					 
					
						2017-05-28 17:02:19 +03:00 
						 
				 
			
				
					
						
							
							
								Leo Yuriev 
							
						 
					 
					
						
						
							
						
						700f3e9c2a 
					 
					
						
						
							
							mdbx: more checks for meta-params.  
						
						
						
						
					 
					
						2017-05-28 17:02:19 +03:00 
						 
				 
			
				
					
						
							
							
								Leo Yuriev 
							
						 
					 
					
						
						
							
						
						9eeb00f448 
					 
					
						
						
							
							mdbx: trinity of meta-pages.  
						
						
						
						
					 
					
						2017-05-28 17:02:19 +03:00 
						 
				 
			
				
					
						
							
							
								Leo Yuriev 
							
						 
					 
					
						
						
							
						
						141306644d 
					 
					
						
						
							
							mdbx: fix mdbx_env_copy_asis().  
						
						
						
						
					 
					
						2017-05-26 03:10:31 +03:00 
						 
				 
			
				
					
						
							
							
								Leo Yuriev 
							
						 
					 
					
						
						
							
						
						7315b99b9d 
					 
					
						
						
							
							mdbx: fix MSVC/Windows warnings.  
						
						
						
						
					 
					
						2017-05-25 19:12:51 +03:00 
						 
				 
			
				
					
						
							
							
								Leo Yuriev 
							
						 
					 
					
						
						
							
						
						b9dbe7c577 
					 
					
						
						
							
							mdbx: fix segfault and double-free (in case twice abortion of the same write-txn).  
						
						
						
						
					 
					
						2017-05-25 18:39:45 +03:00 
						 
				 
			
				
					
						
							
							
								Leo Yuriev 
							
						 
					 
					
						
						
							
						
						96de36baef 
					 
					
						
						
							
							mdbx: refine mdbx_cursor_count() API.  
						
						
						
						
					 
					
						2017-05-25 16:21:29 +03:00 
						 
				 
			
				
					
						
							
							
								Leo Yuriev 
							
						 
					 
					
						
						
							
						
						3a166e1970 
					 
					
						
						
							
							test: temporary crutch.  
						
						
						
						
					 
					
						2017-05-25 15:30:35 +03:00 
						 
				 
			
				
					
						
							
							
								Leo Yuriev 
							
						 
					 
					
						
						
							
						
						b94e761d73 
					 
					
						
						
							
							mdbx: fix 'magic' bug.  
						
						
						
						
					 
					
						2017-05-25 15:08:45 +03:00 
						 
				 
			
				
					
						
							
							
								Leo Yuriev 
							
						 
					 
					
						
						
							
						
						5519d568f0 
					 
					
						
						
							
							mdbx: fix mdbx_filesize() for Windows.  
						
						
						
						
					 
					
						2017-05-25 09:40:29 +03:00 
						 
				 
			
				
					
						
							
							
								Leo Yuriev 
							
						 
					 
					
						
						
							
						
						15e2a45425 
					 
					
						
						
							
							mdbx: check size of lck-file.  
						
						
						
						
					 
					
						2017-05-25 09:40:29 +03:00 
						 
				 
			
				
					
						
							
							
								Leo Yuriev 
							
						 
					 
					
						
						
							
						
						c335b16c81 
					 
					
						
						
							
							mdbx: rework mapsize's stuff inside mdbx_setup_dxb().  
						
						
						
						
					 
					
						2017-05-25 09:40:29 +03:00 
						 
				 
			
				
					
						
							
							
								Leo Yuriev 
							
						 
					 
					
						
						
							
						
						af7b468e63 
					 
					
						
						
							
							mdbx: use uint64_t or size_t insted of off_t (buggy on Windows).  
						
						
						
						
					 
					
						2017-05-24 18:50:24 +03:00 
						 
				 
			
				
					
						
							
							
								Leo Yuriev 
							
						 
					 
					
						
						
							
						
						7ef7e70012 
					 
					
						
						
							
							mdbx: add STATIC_ASSERT.  
						
						
						
						
					 
					
						2017-05-24 18:45:08 +03:00 
						 
				 
			
				
					
						
							
							
								Leo Yuriev 
							
						 
					 
					
						
						
							
						
						96b9af0b4d 
					 
					
						
						
							
							mdbx: minor refine idl functions.  
						
						
						
						
					 
					
						2017-05-24 17:06:18 +03:00 
						 
				 
			
				
					
						
							
							
								Leo Yuriev 
							
						 
					 
					
						
						
							
						
						924e81ed92 
					 
					
						
						
							
							mdbx: refine includes, drop midl.h and mdbx_osal.h  
						
						
						
						
					 
					
						2017-05-24 17:05:59 +03:00 
						 
				 
			
				
					
						
							
							
								Leo Yuriev 
							
						 
					 
					
						
						
							
						
						dd7855c30d 
					 
					
						
						
							
							mdbx: cleanup tabs (minor).  
						
						
						
						
					 
					
						2017-05-24 13:37:06 +03:00