오류 코드
오류가 발생하면 MongoDB 는 다음 코드 중 하나를 반환합니다. 이 가이드 를 사용하여 로그를 해석하고 mongod
및 mongos
인스턴스 관련 문제를 해결할 수 있습니다.
코드 | 원인 |
---|---|
InternalError | |
BadValue | |
NoSuchKey | |
GraphContainsCycle | |
HostUnreachable | |
HostNotFound | |
UnknownError | |
FailedToParse | |
CannotMutateObject | |
UserNotFound | |
UnsupportedFormat | |
승인되지 않음 | |
TypeMismatch | |
Overflow | |
InvalidLength | |
ProtocolError | |
인증 실패 | |
CannotReuseObject | |
IllegalOperation | |
EmptyArrayOperation | |
InvalidBSON | |
AlreadyInitialized | |
LockTimeout | |
RemoteValidationError | |
NamespaceNotFound | |
IndexNotFound | |
PathNotViable | |
NonExistentPath | |
InvalidPath | |
RoleNotFound | |
RolesNotRelated | |
PrivilegeNotFound | |
CannotBackfillArray | |
UserModificationFailed | |
RemoteChangeDetected | |
파일 이름 변경 실패 | |
FileNotOpen | |
FileStreamFailed | |
ConflictingUpdateOperators | |
FileAlreadyOpen | |
LogWriteFailed | |
CursorNotFound | |
UserDataInconsistent | |
LockBusy | |
NoMatchingDocument | |
NamespaceExists | |
InvalidRoleModification | |
MaxTimeMSExpired | |
ManualInterventionRequired | |
DollarPrefixedFieldName | |
InvalidIdField | |
NotSingleValueField | |
InvalidDBRef | |
EmptyFieldName | |
DottedFieldName | |
RoleModificationFailed | |
CommandNotFound | |
ShardKeyNotFound | |
OplogOperationUnsupported | |
StaleShardVersion | |
WriteConcernFailed | |
MultipleErrorsOccurred | |
ImmutableField | |
CannotCreateIndex | |
IndexAlreadyExists | |
AuthSchemaIncompatible | |
ShardNotFound | |
ReplicaSetNotFound | |
InvalidOptions | |
InvalidNamespace | |
NodeNotFound | |
WriteConcernLegacyOK | |
NoReplicationEnabled | |
OperationIncomplete | |
CommandResultSchemaViolation | |
UnknownReplWriteConcern | |
RoleDataInconsistent | |
NoMatchParseContext | |
NoProgressMade | |
RemoteResultsUnavailable | |
IndexOptionsConflict | |
IndexKeySpecsConflict | |
CannotSplit | |
NetworkTimeout | |
CallbackCanceled | |
ShutdownInProgress | |
SecondaryAheadOfPrimary | |
InvalidReplicaSetConfig | |
NotYetInitialized | |
NotSecondary | |
OperationFailed | |
NoProjectionFound | |
DBPathInUse | |
UnsatisfiableWriteConcern | |
OutdatedClient | |
IncompatibleAuditMetadata | |
NewReplicaSetConfigurationIncompatible | |
NodeNotElectable | |
IncompatibleShardingMetadata | |
DistributedClockSkewed | |
LockFailed | |
InconsistentReplicaSetNames | |
ConfigurationInProgress | |
CannotInitializeNodeWithData | |
NotExactValueField | |
쓰기 충돌 | |
InitialSyncFailure(초기 동기화 실패) | |
InitialSyncOplogSourceMissing | |
CommandNotSupported | |
DocTooLargeForCapped | |
ConflictingOperationInProgress | |
NamespaceNotSharded | |
InvalidSyncSource | |
OplogStartMissing | |
DocumentValidationFailure(컬렉션의 문서 유효성 검사기에만 해당) | |
NotAReplicaSet | |
IncompatibleElectionProtocol | |
CommandFailed | |
RPCProtocolNegotiationFailed | |
UnrecoverableRollbackError | |
LockNotFound | |
LockStateChangeFailed | |
SymbolNotFound | |
FailedToSatisfyReadPreference | |
ReadConcernMajorityNotAvailableYet | |
StaleTerm | |
CappedPositionLost | |
IncompatibleShardingConfigVersion | |
RemoteOplogStale | |
JSInterpreterFailure | |
InvalidSSLConfiguration | |
SSLHandshakeFailed | |
JSUncatchableError | |
CursorInUse | |
IncompatibleCatalogManager | |
PooledConnectionsDropped | |
ExceededMemoryLimit | |
ZLibError | |
ReadConcernMajorityNotEnabled | |
NoConfigPrimary | |
StaleEpoch | |
OperationCannotBeBatched | |
OplogOutOfOrder | |
ChunkTooBig | |
InconsistentShardIdentity | |
CannotApplyOplogWhilePrimary | |
CanRepairToDowngrade | |
MustUpgrade | |
DurationOverflow | |
MaxStalenessOutOfRange | |
IncompatibleCollationVersion | |
CollectionIsEmpty | |
ZoneStillInUse | |
InitialSyncActive | |
ViewDepthLimitExceeded | |
CommandNotSupportedOnView | |
OptionNotSupportedOnView | |
InvalidPipelineOperator | |
CommandOnShardedViewNotSupportedOnMongod | |
TooManyMatchingDocuments | |
CannotIndexParallelArray | |
TransportSessionClosed | |
TransportSessionNotFound | |
TransportSessionUnknown | |
QueryPlanKilled | |
파일 열기 실패 | |
ZoneNotFound | |
RangeOverlapConflict | |
WindowsPdhError | |
BadPerfCounterPath | |
AmbiguousIndexKeyPattern | |
InvalidViewDefinition | |
ClientMetadataMissingField | |
ClientMetadataAppNameTooLarge | |
ClientMetadataDocumentTooLarge | |
ClientMetadataCannotBeMutated | |
LinearizableReadConcernError | |
IncompatibleServerVersion | |
PrimarySteppedDown | |
MasterSlaveConnectionFailure | |
FailPointEnabled | |
NoShardingEnabled | |
BalancerInterrupted | |
ViewPipelineMaxSizeExceeded | |
InvalidIndexSpecificationOption | |
ReplicaSetMonitorRemoved | |
ChunkRangeCleanupPending | |
CannotBuildIndexKeys | |
NetworkInterfaceExceededTimeLimit | |
ShardingStateNotInitialized | |
TimeProofMismatch | |
ClusterTimeFailsRateLimiter | |
NoSuchSession | |
InvalidUUID | |
TooManyLocks | |
StaleClusterTime | |
CannotVerifyAndSignLogicalTime | |
KeyNotFound | |
IncompatibleRollbackAlgorithm | |
DuplicateSession | |
AuthenticationRestrictionUnmet | |
DatabaseDropPending | |
ElectionInProgress | |
IncompleteTransactionHistory | |
UpdateOperationFailed | |
FTDCPathNotSet | |
FTDCPathAlreadySet | |
IndexModified | |
CloseChangeStream | |
IllegalOpMsgFlag | |
QueryFeatureNotAllowed | |
TransactionTooOld | |
AtomicityFailure | |
CannotImplicitlyCreateCollection | |
SessionTransferIncomplete | |
MustDowngrade | |
DNSHostNotFound | |
DNSProtocolError | |
MaxSubPipelineDepthExceeded | |
TooManyDocumentSequences | |
RetryChangeStream | |
InternalErrorNotSupported | |
ForTestingErrorExtraInfo | |
CursorKilled | |
NotImplemented | |
SnapshotTooOld | |
DNSRecordTypeMismatch | |
ConversionFailure | |
CannotCreateCollection | |
IncompatibleWithUpgradedServer | |
BrokenPromise | |
SnapshotUnavailable | |
ProducerConsumerQueueBatchTooLarge | |
ProducerConsumerQueueEndClosed | |
StaleDbVersion | |
StaleChunkHistory | |
NoSuchTransaction | |
ReentrancyNotAllowed | |
FreeMonHttpInFlight | |
FreeMonHttpTemporaryFailure | |
FreeMonHttpPermanentFailure | |
TransactionCommitted | |
TransactionTooLarge | |
UnknownFeatureCompatibilityVersion | |
KeyedExecutorRetry | |
잘못된 재개 토큰 | |
TooManyLogicalSessions | |
ExceededTimeLimit | |
OperationNotSupportedInTransaction | |
TooManyFilesOpen | |
OrphanedRangeCleanUpFailed | |
FailPointSetFailed | |
PreparedTransactionInProgress | |
백업할 수 없음 | |
DataModifiedByRepair | |
RepairedReplicaSetNode | |
JSInterpreterFailureWithStack | |
MigrationConflict | |
ProducerConsumerQueueProducerQueueDepthExceeded | |
ProducerConsumerQueueConsumed | |
ExchangePassthrough | |
IndexBuildAborted | |
AlarmAlreadyFulfilled | |
UnsatisfiableCommitQuorum | |
ClientDisconnect | |
ChangeStreamFatalError | |
TransactionCoordinatorSteppingDown | |
TransactionCoordinatorReachedAbortDecision | |
WouldChangeOwningShard | |
ForTestingErrorExtraInfoWithExtraInfoInNamespace | |
IndexBuildAlreadyInProgress | |
ChangeStreamHistoryLost | |
TransactionCoordinatorDeadlineTaskCanceled | |
ChecksumMismatch | |
WaitForMajorityServiceEarlierOpTimeAvailable | |
TransactionExceededLifetimeLimitSeconds | |
NoQueryExecutionPlans | |
QueryExceededMemoryLimitNoDiskUseAllowed | |
InvalidSeedList | |
InvalidTopologyType | |
InvalidHeartBeatFrequency | |
TopologySetNameRequired | |
HierarchicalAcquisitionLevelViolation | |
InvalidServerType | |
OCSPCertificateStatusRevoked | |
RangeDeletionAbandonedBecauseCollectionWithUUIDDoesNotExist | |
DataCorruptionDetected | |
OCSPCertificateStatusUnknown | |
SplitHorizonChange | |
ShardInvalidatedForTargeting | |
RangeDeletionAbandonedBecauseTaskDocumentDoesNotExist | |
CurrentConfigNotCommittedYet | |
ExhaustCommandFinished | |
PeriodicJobIsStopped | |
TransactionCoordinatorCanceled | |
OperationIsKilledAndDelisted | |
ResumableRangeDeleterDisabled | |
ObjectIsBusy | |
TooStaleToSyncFromSource | |
QueryTrialRunCompleted | |
ConnectionPoolExpired | |
ForTestingOptionalErrorExtraInfo | |
MovePrimaryInProgress | |
TenantMigrationConflict | |
TenantMigrationCommitted | |
APIVersionError | |
APIStrictError | |
APIDeprecationError | |
TenantMigrationAborted | |
OplogQueryMinTsMissing | |
NoSuchTenantMigration | |
TenantMigrationAccessBlockerShuttingDown | |
TenantMigrationInProgress | |
SkipCommandExecution | |
FailedToRunWithReplyBuilder | |
CannotDowngrade | |
ServiceExecutorInShutdown | |
MechanismUnavailable | |
TenantMigrationForgotten | |
SocketException | |
CannotGrowDocumentInCappedNamespace | |
NotWritablePrimary | |
BSONObjectTooLarge | |
DuplicateKey | |
InterruptedAtShutdown | |
중단됨 | |
InterruptedDueToReplStateChange | |
BackgroundOperationInProgressForDatabase | |
BackgroundOperationInProgressForNamespace | |
MergeStageNoMatchingDocument | |
DatabaseDifferCase | |
StaleConfig | |
NotPrimaryNoSecondaryOk | |
NotPrimaryOrSecondary | |
OutOfDiskSpace | |
ClientMarkedKilled |