Skip to content
This repository was archived by the owner on Jul 23, 2020. It is now read-only.
This repository was archived by the owner on Jul 23, 2020. It is now read-only.

error: index row requires 38056 bytes, maximum size is 8191 #7

Description

@CombatCode

Any idea how to cover that issue? ;)

[2018-12-20 10:07:26.827] [LOG]     20% - 9099997 objects copied (3 skipped)
[2018-12-20 10:07:40.992] [LOG]    ERROR ReferenceError: Exception is not defined
   at module.exports (/home/ubuntu/nodebb-postgres-converter/reader/redis.js:104:7)
   at <anonymous>
   at process._tickCallback (internal/process/next_tick.js:188:7)
[2018-12-20 10:07:40.994] [LOG]    100% - 9199780 objects copied (3 skipped)
[2018-12-20 10:07:40.994] [WARN]   There were 9199783 objects, but 44046162 were expected.
[2018-12-20 10:07:40.994] [LOG]    Copy objects: 1829935.222ms
[2018-12-20 10:07:40.997] [LOG]    Copy: 1829946.310ms
[2018-12-20 10:07:46.733] [ERROR]  Query failed: Create unique index on key__value
[2018-12-20 10:07:46.734] [LOG]    Create unique index on key__value: 5685.058ms
[2018-12-20 10:08:07.128] [LOG]    Create index on expireAt: 26080.417ms
[2018-12-20 10:08:39.410] [LOG]    Create unique index on key: 58361.338ms
[2018-12-20 10:09:16.356] [LOG]    Create index on key__score: 95356.493ms
[2018-12-20 10:09:16.356] [LOG]    Full conversion: 1925351.669ms
[2018-12-20 10:09:16.357] [ERROR]  error: index row requires 38056 bytes, maximum size is 8191
   at Connection.parseE (/home/ubuntu/nodebb-postgres-converter/node_modules/pg/lib/connection.js:554:11)
   at Connection.parseMessage (/home/ubuntu/nodebb-postgres-converter/node_modules/pg/lib/connection.js:379:19)
   at Socket.<anonymous> (/home/ubuntu/nodebb-postgres-converter/node_modules/pg/lib/connection.js:119:22)
   at emitOne (events.js:116:13)
   at Socket.emit (events.js:211:7)
   at addChunk (_stream_readable.js:263:12)
   at readableAddChunk (_stream_readable.js:250:11)
   at Socket.Readable.push (_stream_readable.js:208:10)
   at TCP.onread (net.js:607:20)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions