Hi,
I am using #2945 version of ravendb. The database size is approximately 2.5 gb and having around 90500 records. When I use smuggler to import data on a new database it throws an error at the end. I am using following command within powershell.
I have tried various time out values but same results.
Raven.Smuggler.exe in $RavenDBUrl/databases/$database $RavenDump --api-key=$ReadWriteKey --timeout=3000000 --negative-metadata-filter:@id=Raven/Replication/Destinations --negative-metadata-filter:@id=Raven/Backup/Periodic/Setup --negative-metadata-filter:@id=Raven/Backup/Periodic/Status --negative-metadata-filter:@id=Raven/Replication/VersionHilo"
Importing attachment 045b5bb2-d3ad-48e9-adec-003df1669fa6
Importing attachment 46452899-0252-43a7-b19f-32deea5054fd
Importing attachment f1715892-d5aa-495d-99a0-d4d19e6d9c59
Importing attachment 5b81305a-cd55-4105-b779-973f70063680
Done with reading attachments, total: 7398
Begin reading transformers
Done with reading transformers, total: 0
Imported 90,529 documents and 7,398 attachments in 1,235,279 ms
Finished writing all results to server
NotSpecified: (:String) [], RemoteException
+ CategoryInfo : NotSpecified: (:String) [], RemoteException
+ FullyQualifiedErrorId : NativeCommandError
+ PSComputerName : 10.254.36.151
Unhandled Exception: System.AggregateException: One or more errors occurred.
---> System.Net.WebException: The request was aborted: The request was
canceled.
Server stack trace:
at System.Net.HttpWebRequest.BeginGetResponse(AsyncCallback callback,
Object state)
at System.Threading.Tasks.TaskFactory`1.FromAsyncImpl(Func`3 beginMethod,
Func`2 endFunction, Action`1 endAction, Object state, TaskCreationOptions
creationOptions)
at AsyncCompatLibExtensions.<>c__DisplayClass30.<GetResponseAsync>b__2f()
at System.Threading.Tasks.Task`1.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
Exception rethrown at [0]:
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
at Raven.Client.Connection.HttpJsonRequest.<RawExecuteRequestAsync>d__4b.Mov
eNext() in c:\Builds\RavenDB-Stable-2.5\Raven.Client.Lightweight\Connection\Htt
pJsonRequest.cs:line 933
Exception rethrown at [1]:
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at
Raven.Client.Document.RemoteBulkInsertOperation.<DisposeAsync>d__18.MoveNext()
in c:\Builds\RavenDB-Stable-2.5\Raven.Client.Lightweight\Document\RemoteBulkIns
ertOperation.cs:line 295
Exception rethrown at [2]:
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
at Raven.Smuggler.SmugglerApi.<ImportData>d__6.MoveNext() in
c:\Builds\RavenDB-Stable-2.5\Raven.Smuggler\SmugglerApi.cs:line 100
Exception rethrown at [3]:
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
at Raven.Abstractions.Smuggler.SmugglerApiBase.<ImportData>d__2b.MoveNext()
in c:\Builds\RavenDB-Stable-2.5\Raven.Abstractions\Smuggler\SmugglerApiBase.cs:
line 387
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout,
CancellationToken cancellationToken)
at System.Threading.Tasks.Task.Wait()
at Raven.Smuggler.Program.Parse(String[] args) in
c:\Builds\RavenDB-Stable-2.5\Raven.Smuggler\Program.cs:line 201
at Raven.Smuggler.Program.Main(String[] args) in
c:\Builds\RavenDB-Stable-2.5\Raven.Smuggler\Program.cs:line 118
Any help will be appreciated.