Comments (10)
The message: Error 1062: Duplicate entry -- is not an actual error.
from ortelius.
The message: Error 1062: Duplicate entry -- is not an actual error.
Thank you @tasinco for your response. But when we query the indexer around that time, we always get 0
,
curl "http://localhost:8080/v2/aggregates?startTime=2020-09-21T00:00:00Z&endTime=2020-10-21T00:00:00Z"
{
"aggregates": {
"startTime": "2020-09-21T00:00:00Z",
"endTime": "2020-10-21T00:00:00Z",
"transactionVolume": "0",
"transactionCount": 0,
"addressCount": 0,
"outputCount": 0,
"assetCount": 0
},
"startTime": "2020-09-21T00:00:00Z",
"endTime": "2020-10-21T00:00:00Z"
}
from ortelius.
The message: Error 1062: Duplicate entry -- is not an actual error.
There is no data after 2020-09-10 00:00:00.000000
and thats the date in the error too. Can you please suggest whats the issue?
from ortelius.
start time is inclusive end time is not..
remove endtime or increase it into the future..
from ortelius.
start time is inclusive end time is not..
remove endtime or increase it into the future..
Even if we try without the endTime
, we don't get any results after 2020-09-10T00:00:00Z
Please have a look,
[root@ip-172-31-27-19 ~]# curl "http://localhost:8080/v2/aggregates?startTime=2020-09-10T00:00:00Z"
{"aggregates":{"startTime":"2020-09-10T00:00:00Z","endTime":"2021-02-11T22:08:40Z","transactionVolume":"359999999999990210","transactionCount":77,"addressCount":4936,"outputCount":38844,"assetCount":1},"startTime":"2020-09-10T00:00:00Z","endTime":"2021-02-11T22:08:40Z"}
[root@ip-172-31-27-19 ~]#
[root@ip-172-31-27-19 ~]#
[root@ip-172-31-27-19 ~]#
[root@ip-172-31-27-19 ~]# curl "http://localhost:8080/v2/aggregates?startTime=2020-09-11T00:00:00Z"
{"aggregates":{"startTime":"2020-09-11T00:00:00Z","endTime":"2021-02-11T22:08:52Z","transactionVolume":"0","transactionCount":0,"addressCount":0,"outputCount":0,"assetCount":0},"startTime":"2020-09-11T00:00:00Z","endTime":"2021-02-11T22:08:52Z"}
[root@ip-172-31-27-19 ~]#
from ortelius.
The duplicate row was not inserted.. The first row that did insert set the timestamp. You would need the timestamp of the first row. This is still not an issue.
from ortelius.
The duplicate row was not inserted.. The first row that did insert set the timestamp. You would need the timestamp of the first row. This is still not an issue.
Thank you @tasinco for your response. I can totally understand what you are saying that duplicate rows were not inserted. I am confused to understand that why the subsequent rows are not inserted either? The ones after the duplicated row, and how can I resume inserting the rows?
from ortelius.
Subsequent non duplicated rows will be inserted.. It is possible that you have not had any new rows added possibly because the node is still bootstrapping.
You can query the db to check what rows were added.
from ortelius.
Let the team at GitHub fix your issues asap
from ortelius.
You can review: https://github.com/ava-labs/ortelius/blob/master/docs/production.md <- on how to setup ortelius.
from ortelius.
Related Issues (20)
- Migration for PostgreSQL is not correct HOT 2
- Redis and mysql too many open files error HOT 4
- may avaxAssetID,xChainID be configured from config file HOT 1
- Transaction Details Not Found: AcHrhZQFHnAkbp5U4LmbpjjUnSFAZqnDcLwNr54NYJo8WAbjU HOT 2
- transaction ID was not found in the Avalanche Explorer: AcHrhZQFHnAkbp5U4LmbpjjUnSFAZqnDcLwNr54NYJo8WAbjU HOT 1
- Transaction Details Not Found
- Binance withdrawal pending HOT 1
- Axav ; Transaction Details Not Found HOT 8
- Avax trasnfer HOT 1
- failed to load resource HOT 5
- May the ortelius call an http api on X chain transactions HOT 1
- Ortelius missing transactions HOT 3
- Can you provide a public ortelius api for the mainnet? HOT 1
- producer and indexer error HOT 1
- Weird result when using the api to fetch CChain transactions HOT 1
- MySQL and API listening publicly intended?
- indexer uses a method(debug_traceTransaction) that doesn't exist
- How to configure cchainid ppm-id and aim-id
- failed to decode client response: no containers have been accepted
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ortelius.