diff options
author | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2015-09-21 10:09:49 -0400 |
---|---|---|
committer | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2015-09-22 09:16:41 -0400 |
commit | c3dc26b52adfc45f86730e862404bce024beeb04 (patch) | |
tree | 044d8bba8cfb58534c2661569fc5abd64e93aeb8 /src/mongo/s/chunk_manager_targeter.h | |
parent | 9123d2d3263ea56d8651ba9d4cf5ad1158d939cb (diff) | |
download | mongo-c3dc26b52adfc45f86730e862404bce024beeb04.tar.gz |
SERVER-20463 DatabaseNotFound -> NamespaceNotFound
This change replaces all usages of error code 60 (DatabaseNotFound) with
error code 26 (NamespaceNotFound) and obsoletes code 60. From this point
on, error code 26 should be used for all cases where a collection or
database is not found.
Diffstat (limited to 'src/mongo/s/chunk_manager_targeter.h')
-rw-r--r-- | src/mongo/s/chunk_manager_targeter.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/s/chunk_manager_targeter.h b/src/mongo/s/chunk_manager_targeter.h index e38b9b1742f..854ca37ac3a 100644 --- a/src/mongo/s/chunk_manager_targeter.h +++ b/src/mongo/s/chunk_manager_targeter.h @@ -48,8 +48,8 @@ struct TargeterStats { }; /** - * NSTargeter based on a ChunkManager implementation. Wraps all exception codepaths and - * returns DatabaseNotFound statuses on applicable failures. + * NSTargeter based on a ChunkManager implementation. Wraps all exception codepaths and returns + * NamespaceNotFound status on applicable failures. * * Must be initialized before use, and initialization may fail. */ |