Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm-browser project 1546 disk I/O error #2477

Closed
nickcolley opened this issue Jul 16, 2014 · 7 comments

Comments

@nickcolley
Copy link
Contributor

commented Jul 16, 2014

unable to open database, failed to start transaction (1546 disk I/O error) pouchdb.js:2921
(anonymous function) pouchdb.js:2921
(anonymous function) pouchdb.js:6904
WebSqlPouch pouchdb.js:3012
(anonymous function) pouchdb.js:4431
PouchDB pouchdb.js:4348
(anonymous function) main.js:25
invoke angular.js:3697
instantiate angular.js:3708
(anonymous function) angular.js:6758
link angular-route.js:897
nodeLinkFn angular.js:6212
compositeLinkFn angular.js:5622
publicLinkFn angular.js:5527
boundTranscludeFn angular.js:5641
controllersBoundTransclude angular.js:6233
update angular-route.js:855
Scope.$broadcast angular.js:12181
(anonymous function) angular-route.js:556
wrappedCallback angular.js:10905
wrappedCallback angular.js:10905
(anonymous function) angular.js:10991
Scope.$eval angular.js:11906
Scope.$digest angular.js:11734
Scope.$apply angular.js:12012
done angular.js:7818
completeRequest angular.js:7991
xhr.onreadystatechange

Not great info but let me know if I can get anything else!

@calvinmetcalf

This comment has been minimized.

Copy link
Member

commented Jul 16, 2014

yeah why is it forcing websql?

On Wed, Jul 16, 2014 at 4:24 PM, Nick Colley notifications@github.com
wrote:

unable to open database, failed to start transaction (1546 disk I/O error)
pouchdb.js:2921
(anonymous function) pouchdb.js:2921
(anonymous function) pouchdb.js:6904
WebSqlPouch pouchdb.js:3012
(anonymous function) pouchdb.js:4431
PouchDB pouchdb.js:4348
(anonymous function) main.js:25
invoke angular.js:3697
instantiate angular.js:3708
(anonymous function) angular.js:6758
link angular-route.js:897
nodeLinkFn angular.js:6212
compositeLinkFn angular.js:5622
publicLinkFn angular.js:5527
boundTranscludeFn angular.js:5641
controllersBoundTransclude angular.js:6233
update angular-route.js:855
Scope.$broadcast angular.js:12181
(anonymous function) angular-route.js:556
wrappedCallback angular.js:10905
wrappedCallback angular.js:10905
(anonymous function) angular.js:10991
Scope.$eval angular.js:11906
Scope.$digest angular.js:11734
Scope.$apply angular.js:12012
done angular.js:7818
completeRequest angular.js:7991
xhr.onreadystatechange

Not great info but let me know if I can get anything else!


Reply to this email directly or view it on GitHub
#2477.

-Calvin W. Metcalf

@nolanlawson

This comment has been minimized.

Copy link
Member

commented Jul 16, 2014

I did that in npm-browser for perf. May revert if this turns out to be websql-only.

@nolanlawson

This comment has been minimized.

Copy link
Member

commented Jul 17, 2014

This is bizarre. It occurs in both IndexedDB on Firefox and WebSQL on Chrome.

In the npm-browser, at around 51652 docs, var toVisit = revs.slice(); fails because revs is undefined.

When you refresh, you see

  • AbortError in IndexedDB
  • unable to open database, failed to start transaction (1546 disk I/O error) in WebSQL
@nolanlawson

This comment has been minimized.

Copy link
Member

commented Jul 17, 2014

@calvinmetcalf

This comment has been minimized.

Copy link
Member

commented Jul 17, 2014

we may want to use something like https://www.npmjs.org/package/es6-map for this sort of thing

@nolanlawson

This comment has been minimized.

Copy link
Member

commented Jul 17, 2014

yeah, I was thinking that that would be nice. I'm always tripped up by these weird edges cases with the built-in objects.

calvinmetcalf added a commit that referenced this issue Jul 17, 2014
nolanlawson added a commit that referenced this issue Jul 17, 2014
nolanlawson added a commit that referenced this issue Jul 17, 2014
calvinmetcalf added a commit that referenced this issue Jul 17, 2014
calvinmetcalf added a commit that referenced this issue Jul 17, 2014
calvinmetcalf added a commit that referenced this issue Jul 18, 2014
calvinmetcalf added a commit that referenced this issue Jul 18, 2014
calvinmetcalf added a commit that referenced this issue Jul 18, 2014
nolanlawson added a commit that referenced this issue Jul 19, 2014
nolanlawson added a commit that referenced this issue Jul 19, 2014
nolanlawson added a commit that referenced this issue Jul 19, 2014
nolanlawson added a commit that referenced this issue Jul 19, 2014
@calvinmetcalf

This comment has been minimized.

Copy link
Member

commented Jul 19, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.