anchor.diff:                        %     identity, gzip
                         % additional values to support in the future:
                         %     deflate, compress
  -    }).
  -
  -
  --record(user_ctx,
  -    {
  +}).
  +
  +
  +-record(user_ctx, {
       name=null,
       roles=[],
       handler
  -    }).
  -
  --record(db,
  -    {main_pid = nil,
  +}).
  +
  +-record(db, {
  +    main_pid = nil,
       compactor_pid = nil,
       instance_start_time, % number of microsecs since jan 1 1970 as a binary string
       fd,
  
positive.code:     compression,
      before_doc_update = nil, % nil | fun(Doc, Db) -> NewDoc
      after_doc_read = nil    % nil | fun(Doc, Db) -> NewDoc
      }).
  
  -record(view_fold_helper_funs, {
      reduce_count,
  
negative.code:     auth,
      default_fun,
      url_handlers
  }).
  
  
  -record(doc, {
      id = <<"">>,
      revs = {0, []},
  
  