anchor.diff:  job_node_status(10) -> crashed;
   job_node_status(11) -> timed_out.
   
  -%% CHEF_COMMON CARGO_CULT
  +%% CHEF_DB CARGO_CULT
   %% chef_sql:flatten_record/1
   flatten_record(Rec) ->
       [_Head|Tail] = tuple_to_list(Rec),
  +    %% We detect if any of the fields in the record have not been set
  +    %% and throw an error
  +    case lists:any(fun is_undefined/1, Tail) of
  +        true -> error({undefined_in_record, Rec});
  +        false -> ok
  +    end,
       Tail.
   
  -%% CHEF_COMMON CARGO_CULT
  +%% CHEF_DB CARGO_CULT
  +%% chef_sql:is_undefined/1
  +is_undefined(undefined) ->
  +    true;
  +is_undefined(_) ->
  +    false.
  +
  +
  +%% CHEF_DB CARGO_CULT
   %% chef_sql:parse_error/1
   parse_error(Reason) ->
       DbType = envy:get(sqerl, db_type, atom),
  
positive.code:     {error, "Pooler had no members"}.
  
  
  %% CHEF_COMMON CARGO_CULT
  %% chef_sql:do_update/2
  do_update(QueryName, UpdateFields) ->
      case sqerl:statement(QueryName, UpdateFields) of
  
negative.code:         %% FIXME: original code for create_node had the following match, but seems like
          %% crashing would be better if we get an unexpected error.
          %% Error -> Error
      end.
  
  -spec job_fields_for_insert(CbFields:: list()) -> list().
  job_fields_for_insert(CbFields) ->
  