Browse Source

TODO comment

git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac451@4050 e5f2f494-b856-4b98-b285-d166d9295462
Michal Vaner 14 years ago
parent
commit
ab298c3694
2 changed files with 10 additions and 0 deletions
  1. 6 0
      src/bin/auth/config.cc
  2. 4 0
      src/lib/datasrc/memory_datasrc.h

+ 6 - 0
src/bin/auth/config.cc

@@ -159,6 +159,12 @@ MemoryDatasourceConfig::build(ConstElementPtr config_value) {
                       << " already exists");
         }
 
+        /*
+         * TODO: Once we have better reloading of configuration (something
+         * else than throwing everything away and loading it again), we will
+         * need the load method to be split into some kind of build and
+         * commit/abort parts.
+         */
         new_zone->load(file->stringValue());
     }
 }

+ 4 - 0
src/lib/datasrc/memory_datasrc.h

@@ -116,6 +116,10 @@ public:
     /// is kept).
     ///
     /// \param filename The master file to load.
+    ///
+    /// \todo We may need to split it to some kind of build and commit/abort.
+    ///     This will probably be needed when a better implementation of
+    ///     configuration reloading is written.
     void load(const std::string& filename);
 private:
     /// \name Hidden private data