Commit f53017c8 authored by Jan Koester's avatar Jan Koester
Browse files

test

parent 70bf5060
Loading
Loading
Loading
Loading
Loading
+5 −0
Changes for src/import.cpp: 5 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -112,6 +112,11 @@ namespace fenrirds {
            ++count;
        }

        // Raw writes bypass createRecord(): bump the revision and drop the
        // record index so the directory cache and native lists see the import.
        backend.newRevesion();
        backend.getIndex().invalidate();

        // Ensure imported data is durably pushed to the cluster (synchronous)
        // before returning, so a restart won't lose the import.
        backend.flushSync();