added lock, replica option in logstorage.tables