Documentation ¶
Index ¶
- func GetLogger() *log.MOLogger
- func LogTxn1PCCommitCompleted(txnMeta txn.TxnMeta)
- func LogTxnCommit(txnMeta txn.TxnMeta)
- func LogTxnCommitOnInvalidStatus(txnMeta txn.TxnMeta)
- func LogTxnCommittingCompleted(txnMeta txn.TxnMeta)
- func LogTxnCommittingFailed(txnMeta txn.TxnMeta, err error)
- func LogTxnCreateOn(txnMeta txn.TxnMeta, tn metadata.TNShard)
- func LogTxnCreated(txnMeta txn.TxnMeta)
- func LogTxnHandleRequest(request *txn.TxnRequest)
- func LogTxnHandleResult(response *txn.TxnResponse)
- func LogTxnNotFoundOn(txnMeta txn.TxnMeta, tn metadata.TNShard)
- func LogTxnParallelPrepareCompleted(txnMeta txn.TxnMeta)
- func LogTxnParallelPrepareFailed(txnMeta txn.TxnMeta, err error)
- func LogTxnPrepareCompletedOn(txnMeta txn.TxnMeta, tn metadata.TNShard, preparedTS timestamp.Timestamp)
- func LogTxnPrepareFailedOn(txnMeta txn.TxnMeta, tn metadata.TNShard, err *txn.TxnError)
- func LogTxnPushedTimestampUpdated(value timestamp.Timestamp)
- func LogTxnRead(txnMeta txn.TxnMeta)
- func LogTxnReadBlockedByUncommittedTxns(txnMeta txn.TxnMeta, waitTxns [][]byte)
- func LogTxnReadFailed(txnMeta txn.TxnMeta, err error)
- func LogTxnReceivedResponses(responses []txn.TxnResponse)
- func LogTxnRollback(txnMeta txn.TxnMeta)
- func LogTxnRollbackCompleted(txnMeta txn.TxnMeta)
- func LogTxnSendRequests(requests []txn.TxnRequest)
- func LogTxnSendRequestsFailed(requests []txn.TxnRequest, err error)
- func LogTxnSnapshotTimestamp(min timestamp.Timestamp, latest timestamp.Timestamp)
- func LogTxnStart1PCCommit(txnMeta txn.TxnMeta)
- func LogTxnStart1PCCommitFailed(txnMeta txn.TxnMeta, err error)
- func LogTxnStart2PCCommit(txnMeta txn.TxnMeta)
- func LogTxnStartAsyncCommit(txnMeta txn.TxnMeta)
- func LogTxnStartAsyncRollback(txnMeta txn.TxnMeta)
- func LogTxnUpdated(txnMeta txn.TxnMeta)
- func LogTxnWaitUncommittedTxnsFailed(txnMeta txn.TxnMeta, waitTxns [][]byte, err error)
- func LogTxnWaiterAdded(txnMeta txn.TxnMeta, waitStatus txn.TxnStatus)
- func LogTxnWrite(txnMeta txn.TxnMeta)
- func LogTxnWriteFailed(txnMeta txn.TxnMeta, err error)
- func LogTxnWriteOnInvalidStatus(txnMeta txn.TxnMeta)
- 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
- func TxnTNShardField(tn metadata.TNShard) 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 tn shard.
func LogTxnCreated ¶ added in v0.6.0
LogTxnCreated log txn created
func LogTxnHandleRequest ¶ added in v0.6.0
func LogTxnHandleRequest(request *txn.TxnRequest)
LogTxnHandleRequest log txn handle request
func LogTxnHandleResult ¶ added in v0.6.0
func LogTxnHandleResult(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( txnMeta txn.TxnMeta, tn metadata.TNShard, preparedTS timestamp.Timestamp)
LogTxnPrepareCompletedOn log Tx prepare completed on DNShard
func LogTxnPrepareFailedOn ¶ added in v0.6.0
LogTxnPrepareFailedOn log Tx prepare failed on DNShard
func LogTxnPushedTimestampUpdated ¶ added in v0.8.0
LogTxnPushedTimestampUpdated log tn pushed timestamp updated
func LogTxnReadBlockedByUncommittedTxns ¶ added in v0.6.0
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(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(requests []txn.TxnRequest)
LogTxnSendRequests log txn send txn requests
func LogTxnSendRequestsFailed ¶ added in v0.6.0
func LogTxnSendRequestsFailed(requests []txn.TxnRequest, err error)
LogTxnSendRequestsFailed log txn send txn requests failed
func LogTxnSnapshotTimestamp ¶ added in v0.8.0
LogTxnSnapshotTimestamp log txn snapshot ts use pushed latest commit ts
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
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 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 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.