Comments (10)
I understand it was meant to be like that, since you do have this:
if (false === $this->getLockInstance()) {
return parent::isLocked();
}
What you fail to realize here is that you have overridden the parent variable for false - so of course this will fail as you cannot call isLockExists() on false. :)
from magento-fastindexer.
Thanks for spotting that! Never relealized it because of having no tests 8-)
Would you mind sending me a PR?
from magento-fastindexer.
Sorry, don't know what PR is/means.
Btw, also due to the value "false", disabling it also breaks everything as again - cannot call functions on false.
from magento-fastindexer.
Some background as to why we need it: we have a huge price index table - over 4 million records that it inserts. And of course as such we have a lot of failed transactions during indexing. I had a similar idea to yours on how to minimize that time to mere fractions. So if your code works that would be perfect - it is better, much more advanced and it would take me forever to code my own idea. :)
We are using Magento 1.9.1.0
from magento-fastindexer.
PR means Pull Request. https://help.github.com/articles/using-pull-requests/
The fast indexer is only useful for a full reindex. partial reindexing can never be supported.
I would be happy to merge your changes into this repository.
from magento-fastindexer.
Don't want to go through the process of setting up a branch to create a pull request for this one....
This issue is fixed by removing the:
$this->_lockInstance
= false;`
From:
$userModel = Mage::getStoreConfig('fastindexer/indexer/lock_model'); if (true === empty($userModel) || false === $this->getFiHelper()->isEnabled()) { $this->_lockInstance = false; return false; }
This change needs tested - but on my 1.9.2.4 setup everything seems to be working good.
from magento-fastindexer.
I'm not sure if that fixes it. There needs to be also some compatibility with older versions.
from magento-fastindexer.
When i disable the:
$this->_lockInstance = false;
I get a new error on line 136, Call to undefined method Mage_Index_Model_Lock::isLocked()
I am also using magento 1.9.2.4
from magento-fastindexer.
I had the same problem, you need to look in the core_config_data table on path "fastindexer/indexer/lock_model" and set it to "db". After that it is working perfect for me so far...
@SchumacherFM i'm also the dnd path url extension, is your module overruling the complete rewrite logic or is it using the one already exist?
from magento-fastindexer.
No idea :-(
from magento-fastindexer.
Related Issues (5)
- not ready yet? HOT 2
- table prefixes are not working HOT 1
- Does this work with CE 1.9.2 ? HOT 2
- great work HOT 1
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 magento-fastindexer.