anchor.diff:               {ok, list()} | not_found | {error, any()}).
   get_rebalance_info_all() ->
       F = fun() ->
  -                Q1 = qlc:q([X || X <- mnesia:table(rebalance_info)]),
  +                Q1 = qlc:q([X || X <- mnesia:table(?TBL_REBALANCE_INFO)]),
                   Q2 = qlc:sort(Q1, [{order, ascending}]),
                   qlc:e(Q2)
           end,
  
positive.code: 
  create_histories(Mode, Nodes) ->
      mnesia:create_table(
        histories,
        [{Mode, Nodes},
         {type, set},
         {record_name, history},
  
negative.code:              {ok, list()} | not_found | {error, any()}).
  get_storage_nodes_by_status(Status) ->
      F = fun() ->
                  Q1 = qlc:q([X || X <- mnesia:table(?TBL_STORAGE_NODES),
                                   X#node_state.state =:= Status]),
                  Q2 = qlc:sort(Q1, [{order, ascending}]),
                  qlc:e(Q2)
  