summaryrefslogtreecommitdiffstats
path: root/test/swmr_writer.c
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r22922] Purpose:Dana Robinson2012-10-181-1/+1
| | | | | | | | | | | Moved the file open/close back inside the loop in the SWMR reader code. Without the open/close, the cache never refreshes so we always see the initial amount. Made a couple of other minor changes to the SWMR code. Tested on: jam
* [svn-r22918] Purpose:Dana Robinson2012-10-181-334/+418
| | | | | | | | | | | | - Added comments to files, functions, etc. - Some readers changed to keep the file open throughout the life of the program instead of closing it before sleeping. This is in the hopes that there will be more opportunities for cache issues without the close. - Other minor changes. Tested on: jam
* [svn-r22898] Purpose:Dana Robinson2012-10-131-65/+100
| | | | | | | | | | | | | Updates the SWMR testing - All readers/writers now consume and emit their random seeds for debugging. - Output uses unbuffered I/O for more readable output. - The random seeds are now based on a more fine-grained time measurement to ensure each reader has a different random seed. Tested on: jam
* [svn-r22761] Purpose: Fix testswmr failuresNeil Fortner2012-09-131-1/+1
| | | | | | | | | | Description: Patched H5B2 shadowed list implementation to remove nodes from the shadowed list when they are evicted, and added some missing initializations. Also removed inadvertent temporary changes to the tests that disabled srandom, added assertions and fixed formatting. Tested: ummon
* [svn-r22422] Purpose: Add support for SWMR with v2 b-treesNeil Fortner2012-05-301-5/+7
| | | | | | | | | | | | | Description: Adds SWMR support to the v2 b-trees when used as a chunk index. Because each node keeps track of the total number of records reachable through each of its children, nodes must be shadowed every time a descendent record is inserted or removed. This implementation prevents this from happening, however, if the node has already been shadowed since the last time the v2 b-tree header was flushed. Also modified SWMR test to include v2 b-trees. Tested: jam, koala, ostrich (h5committest), durandal Note: There is a preexisting failure in the ph5diff (-v) test
* [svn-r21989] Purpose: Add SWMR capability to v1 b-treeNeil Fortner2012-02-271-1/+23
| | | | | | | | | | | | | | | | | | | | | Description: Adds SWMR capability to v1 b-trees, and the chunk index using v1 b-trees. With this implementation, flush dependencies are always on when in the cache. This will allow attritbutes to be used for "checkpointing" data when object header dependencies are fixed - i.e. if a writer writes data before an attribute in that dataset's object header, then if a reader sees the updated attribute the written data is guaranteed to be visible, as long as that dataset's b-tree nodes are evicted from the reader's cache. Also adds support for compression with SWMR. Also fixes earray implementation to not free (reuse) the file space for deleted chunks and outdated versions of compressed chunks when doing SWMR writes. These should eventually be added to a timeout list. Adds testing for these cases. Tested: durandal
* [svn-r17224] Installed SWMR testings.Albert Cheng2009-07-221-0/+275
Tested: amani.