Documentation ¶
Index ¶
- func LogTxn1PCCommitCompleted(logger *zap.Logger, txnMeta txn.TxnMeta)
- func LogTxnCommit(logger *zap.Logger, txnMeta txn.TxnMeta)
- func LogTxnCommitOnInvalidStatus(logger *zap.Logger, txnMeta txn.TxnMeta)
- func LogTxnCommittingCompleted(logger *zap.Logger, txnMeta txn.TxnMeta)
- func LogTxnCommittingFailed(logger *zap.Logger, txnMeta txn.TxnMeta, err error)
- func LogTxnCreateOn(logger *zap.Logger, txnMeta txn.TxnMeta, dn metadata.DNShard)
- func LogTxnCreated(logger *zap.Logger, txnMeta txn.TxnMeta)
- func LogTxnHandleRequest(logger *zap.Logger, request *txn.TxnRequest)
- func LogTxnHandleResult(logger *zap.Logger, response *txn.TxnResponse)
- func LogTxnNotFoundOn(logger *zap.Logger, txnMeta txn.TxnMeta, dn metadata.DNShard)
- func LogTxnParallelPrepareCompleted(logger *zap.Logger, txnMeta txn.TxnMeta)
- func LogTxnParallelPrepareFailed(logger *zap.Logger, txnMeta txn.TxnMeta, err error)
- func LogTxnPrepareCompletedOn(logger *zap.Logger, txnMeta txn.TxnMeta, dn metadata.DNShard, ...)
- func LogTxnPrepareFailedOn(logger *zap.Logger, txnMeta txn.TxnMeta, dn metadata.DNShard, ...)
- func LogTxnRead(logger *zap.Logger, txnMeta txn.TxnMeta)
- func LogTxnReadBlockedByUncommittedTxns(logger *zap.Logger, txnMeta txn.TxnMeta, waitTxns [][]byte)
- func LogTxnReadFailed(logger *zap.Logger, txnMeta txn.TxnMeta, err error)
- func LogTxnReceivedResponses(logger *zap.Logger, responses []txn.TxnResponse)
- func LogTxnRollback(logger *zap.Logger, txnMeta txn.TxnMeta)
- func LogTxnRollbackCompleted(logger *zap.Logger, txnMeta txn.TxnMeta)
- func LogTxnSendRequests(logger *zap.Logger, requests []txn.TxnRequest)
- func LogTxnSendRequestsFailed(logger *zap.Logger, requests []txn.TxnRequest, err error)
- func LogTxnStart1PCCommit(logger *zap.Logger, txnMeta txn.TxnMeta)
- func LogTxnStart1PCCommitFailed(logger *zap.Logger, txnMeta txn.TxnMeta, err error)
- func LogTxnStart2PCCommit(logger *zap.Logger, txnMeta txn.TxnMeta)
- func LogTxnStartAsyncCommit(logger *zap.Logger, txnMeta txn.TxnMeta)
- func LogTxnStartAsyncRollback(logger *zap.Logger, txnMeta txn.TxnMeta)
- func LogTxnUpdated(logger *zap.Logger, txnMeta txn.TxnMeta)
- func LogTxnWaitUncommittedTxnsFailed(logger *zap.Logger, txnMeta txn.TxnMeta, waitTxns [][]byte, err error)
- func LogTxnWaiterAdded(logger *zap.Logger, txnMeta txn.TxnMeta, waitStatus txn.TxnStatus)
- func LogTxnWrite(logger *zap.Logger, txnMeta txn.TxnMeta)
- func LogTxnWriteFailed(logger *zap.Logger, txnMeta txn.TxnMeta, err error)
- func LogTxnWriteOnInvalidStatus(logger *zap.Logger, txnMeta txn.TxnMeta)
- func TxnDNShardField(dn metadata.DNShard) zap.Field
- func TxnField(txnMeta txn.TxnMeta) zap.Field
- func TxnIDField(txnMeta txn.TxnMeta) zap.Field
- func TxnIDFieldWithID(id []byte) zap.Field
- func TxnIDsField(txnIDs [][]byte) zap.Field
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LogTxn1PCCommitCompleted ¶ added in v0.6.0
LogTxn1PCCommitCompleted log Txn 1pc commit completed
func LogTxnCommit ¶ added in v0.6.0
LogTxnCommit log txn commit
func LogTxnCommitOnInvalidStatus ¶ added in v0.6.0
LogTxnCommitOnInvalidStatus log Txn commit on invalid txn status.
func LogTxnCommittingCompleted ¶ added in v0.6.0
LogTxnCommittingCompleted log Txn Committing completed on coordinator failed
func LogTxnCommittingFailed ¶ added in v0.6.0
LogTxnCommittingFailed log Txn Committing failed on coordinator failed
func LogTxnCreateOn ¶ added in v0.6.0
LogTxnCreateOn log Txn create on dn shard.
func LogTxnCreated ¶ added in v0.6.0
LogTxnCreated log txn created
func LogTxnHandleRequest ¶ added in v0.6.0
func LogTxnHandleRequest( logger *zap.Logger, request *txn.TxnRequest)
LogTxnHandleRequest log txn handle request
func LogTxnHandleResult ¶ added in v0.6.0
func LogTxnHandleResult( logger *zap.Logger, response *txn.TxnResponse)
LogTxnHandleResult log txn handle request
func LogTxnNotFoundOn ¶ added in v0.6.0
LogTxnReadFailed log Txn read failed.
func LogTxnParallelPrepareCompleted ¶ added in v0.6.0
LogTxnParallelPrepareCompleted log Txn parallel prepare completed
func LogTxnParallelPrepareFailed ¶ added in v0.6.0
LogTxnParallelPrepareFailed log Txn parallel prepare failed
func LogTxnPrepareCompletedOn ¶ added in v0.6.0
func LogTxnPrepareCompletedOn( logger *zap.Logger, txnMeta txn.TxnMeta, dn metadata.DNShard, preparedTS timestamp.Timestamp)
LogTxnPrepareCompletedOn log Tx prepare completed on DNShard
func LogTxnPrepareFailedOn ¶ added in v0.6.0
func LogTxnPrepareFailedOn( logger *zap.Logger, txnMeta txn.TxnMeta, dn metadata.DNShard, err *txn.TxnError)
LogTxnPrepareFailedOn log Tx prepare failed on DNShard
func LogTxnRead ¶ added in v0.6.0
LogTxnRead log txn read
func LogTxnReadBlockedByUncommittedTxns ¶ added in v0.6.0
func LogTxnReadBlockedByUncommittedTxns( logger *zap.Logger, txnMeta txn.TxnMeta, waitTxns [][]byte)
LogTxnReadBlockedByUncommittedTxns log Txn read blocked by other txns
func LogTxnReadFailed ¶ added in v0.6.0
LogTxnReadFailed log Txn read failed.
func LogTxnReceivedResponses ¶ added in v0.6.0
func LogTxnReceivedResponses( logger *zap.Logger, responses []txn.TxnResponse)
LogTxnReceivedResponses log received txn responses
func LogTxnRollback ¶ added in v0.6.0
LogTxnRollback log txn rollback
func LogTxnRollbackCompleted ¶ added in v0.6.0
LogTxnRollbackCompleted log Txn rollback completed
func LogTxnSendRequests ¶ added in v0.6.0
func LogTxnSendRequests( logger *zap.Logger, requests []txn.TxnRequest)
LogTxnSendRequests log txn send txn requests
func LogTxnSendRequestsFailed ¶ added in v0.6.0
func LogTxnSendRequestsFailed( logger *zap.Logger, requests []txn.TxnRequest, err error)
LogTxnSendRequestsFailed log txn send txn requests failed
func LogTxnStart1PCCommit ¶ added in v0.6.0
LogTxnStart1PCCommit log Txn start 1pc commit
func LogTxnStart1PCCommitFailed ¶ added in v0.6.0
LogTxnStart1PCCommitFailed log Txn 1pc commit failed
func LogTxnStart2PCCommit ¶ added in v0.6.0
LogTxnStart2PCCommit log Txn start 2pc commit
func LogTxnStartAsyncCommit ¶ added in v0.6.0
LogTxnStartAsyncCommit log start async commit distributed txn task
func LogTxnStartAsyncRollback ¶ added in v0.6.0
LogTxnStartAsyncRollback log start async rollback txn task
func LogTxnUpdated ¶ added in v0.6.0
LogTxnUpdated log txn updated
func LogTxnWaitUncommittedTxnsFailed ¶ added in v0.6.0
func LogTxnWaitUncommittedTxnsFailed( logger *zap.Logger, txnMeta txn.TxnMeta, waitTxns [][]byte, err error)
LogTxnWaitUncommittedTxnsFailed log Txn wait other uncommitted txns change to committed or abortted failed.
func LogTxnWaiterAdded ¶ added in v0.6.0
LogTxnWaiterAdded log txn waiter added
func LogTxnWrite ¶ added in v0.6.0
LogTxnWrite log txn write
func LogTxnWriteFailed ¶ added in v0.6.0
LogTxnWriteFailed log Txn write failed.
func LogTxnWriteOnInvalidStatus ¶ added in v0.6.0
LogTxnWriteOnInvalidStatus log Txn write on invalid txn status.
func TxnDNShardField ¶ added in v0.5.1
TxnDNShardField returns a dn shard zap field
func TxnIDFieldWithID ¶ added in v0.5.1
TxnIDFieldWithID returns a txn id field
func TxnIDsField ¶ added in v0.6.0
TxnIDsField returns a txn ids field
Types ¶
This section is empty.