summaryrefslogtreecommitdiff
path: root/src/cstore/unionfs/cstore-unionfs.hpp
AgeCommit message (Collapse)Author
2017-11-01use unique_ptr if gcc is version 6 or higherKim Hagen
2017-11-01replace deprecated auto_ptr for unique_ptrKim Hagen
2015-12-16More fixes to cstore-unionfs & cli_shell_api.Thomas Jepp
2015-11-23Build fixes for updated libraries on Jessie.Thomas Jepp
2015-01-11vyatta-cfg: fix for "failed to generate commited config"Alex Harpin
When changes are made to the system by more than one user, only the first user after a reboot is able to commit successfully, the others fail with "Failed to generate committed config". This is caused as a result of the underlying unionfs-fuse mount used for the system configuration and the fact that a .unionfs directory if left in the active configuration with permissions set such that only the original committing user can change them. Bug #403 http://bugzilla.vyos.net/show_bug.cgi?id=403
2011-07-25Bugfix 7362: Make some adjustments to previous patch per An-Cheng's suggestionsJohn Southworth
2011-07-23Bugfix 7362: Make reset_paths reset to root level when resolving varrefsJohn Southworth
2011-05-17reimplement commit lockingAn-Cheng Huang
2011-05-16tweak directory handling for unionfsAn-Cheng Huang
2011-05-10preliminary implementation of new commitAn-Cheng Huang
(cherry picked from commit 1b2a0fd1ae1e6dfc18e4f75f73cd7befb47cf538)
2011-03-31fix for bug 6966An-Cheng Huang
* fix paths issue in edit mode.
2011-03-17add config path abstraction and high-level cachingAn-Cheng Huang
* part of the config backend cleanup/optimization work. * improves the performance of "load" (w/o commit) by ~55% and "show" by ~15%.
2011-03-09switch query functions to use lower-level API directly.An-Cheng Huang
2011-03-01tweak map iterator usageAn-Cheng Huang
2011-02-28add config template abstractionAn-Cheng Huang
2011-02-18namespace reorgAn-Cheng Huang
2011-01-27rework/simplify path handlingAn-Cheng Huang
2011-01-05fix for bug 6641An-Cheng Huang
* change shell API to only use "edit level" when needed. * add factory functions for cstore creation to simplify code. (cherry picked from commit 2208bfef1004295d3227492c6a3e9d7b36903db5)
2010-12-10fix for bug 6026An-Cheng Huang
* for unionfs cstore implementation, enforce file size limit on both read and write and raise limit to 256 KB.
2010-08-25switch to unordered_mapAn-Cheng Huang
2010-08-23move "changed" status handling into libraryAn-Cheng Huang
* remove public status modifier as high-level operations no longer need it. * add more information to clarify changed status handling in library. * mark changed status at appropriate places in library.
2010-08-20handle "changed" status properlyAn-Cheng Huang
* original backend implementation uses unionfs-specific "changes only" dir to determine "changed" status. this breaks when it involves deactivated nodes. * new library design uses explicit per-node "changed" marker. however, since previously "commit" only handles a root "changed" marker, the new library could not implement this scheme and used a workaround instead. * now add API functions for "commit" to properly clean up "changed" markers. * modify "commit" to use these API functions and remove the workaround from the new library.
2010-08-13change all vector/string size to size_t just to be safe.An-Cheng Huang
* would have been a problem if template tree becomes more than 2^32 levels deep or if value strings longer than 2^32 characters are allowed.
2010-07-31handle potential exceptions from filesystem operations.An-Cheng Huang
2010-07-30make destructors virtualAn-Cheng Huang
2010-07-30add default status observersAn-Cheng Huang
2010-07-28add cstore-specific header fileAn-Cheng Huang
2010-07-28add new cstore libraryAn-Cheng Huang