init_state(Tab, State) -> NewState | abort(Reason)
Types
Starts when a fragmented table is created with the function mnesia:create_table/2
or when a normal (unfragmented) table is converted to be a fragmented table with mnesia:change_table_frag/2
.
Notice that the function add_frag/2
is started one time for each of the other fragments (except number 1) as a part of the table creation procedure.
State
is the initial value of the hash_state
frag_property
. NewState
is stored as hash_state
among the other frag_properties
.