anchor.diff:                      timer:apply_after(?CHECK_INTERVAL, ?MODULE,
                                         create_mnesia_tables, [Mode, ReplicaNodes_2]);
                   _ ->
  -                    create_mnesia_tables_2()
  +                    create_mnesia_tables_2(Mode, ReplicaNodes_2)
               end,
               {ok, Pid};
           Error ->
  
positive.code: 
  %% External API
  -export([start_link/0, stop/0]).
  -export([create_mnesia_tables/2]).
  
  
  %% Callbacks
  -export([init/1]).
  
  -define(CHECK_INTERVAL, 250).
  -define(ENV_REPLICA_PARTNER, 'partner').
  
  
  
negative.code:                     false ->
                          void
                  end,
                  create_mnesia_tables_2(Mode, Nodes)
              catch _:Reason ->
                      ?error("create_mnesia_tables_1/2", "cause:~p", [Reason])
              end,
              ok;
          {error,{_,{already_exists, _}}} ->
              create_mnesia_tables_2(Mode, Nodes);
          {_, Cause} ->
              timer:apply_after(?CHECK_INTERVAL, ?MODULE, create_mnesia_tables, [Mode, Nodes]),
              ?error("create_mnesia_tables_1/2", "cause:~p", [Cause]),
              {error, Cause}
      end;
  create_mnesia_tables_1(slave,_Nodes) ->
      create_mnesia_tables_2(slave, _Nodes).
  
  %% @doc Create mnesia tables and execute to migrate data
  %% @private
  -spec(create_mnesia_tables_2(master | slave, list()) ->
               ok | {error, any()}).
  create_mnesia_tables_2(Mode, Nodes) ->
      application:start(mnesia),
      case catch mnesia:system_info(tables) of
          Tbls when length(Tbls) > 1 ->
              ok = mnesia:wait_for_tables(Tbls, 60000),
              %% Execute to migrate data
              case Mode of
                  master ->
                      migrate_mnesia_tables(Nodes);
                  _ ->
                      void
              end,
              ok;
          Tbls when length(Tbls) =< 1 ->
              {error, no_exists};
  